[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FAILED tramp-test34-utf8

From: Michael Albinus
Subject: Re: FAILED tramp-test34-utf8
Date: Thu, 30 Mar 2017 17:32:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Colin Baxter <address@hidden> writes:

> Dear Michael,

Hi Colin,

> Here is the tramp-tests.log as an attachment. I haven't yet learnt how
> to attached a file in a gnus mail buffer as a folded line. I hope it
> helps.

Thanks for this. An attachment is perfect, because the file contains
non-ascii chars.

And indeed, I found the problem:

> 20:12:06.761824 tramp-send-command (6) # locale -a
> 20:12:06.795357 tramp-wait-for-regexp (6) # 
> C
> C.UTF-8
> en_GB.utf8

Tramp checks, which locales do exist on your remote machine. This are
just C, C.UTF-8, POSIX and en_GB.utf8. Not so many.

> 20:12:06.795610 tramp-set-connection-property (7) # locale LC_ALL=C

Internally, Tramp keeps a list of acceptable locales. This list contains
en_US.utf8, C.utf8 and en_US.UTF-8. None of them matches the available
locales, Tramp decides to use locale C as last resort. And this let the
utf8 specific test fail.

I've added C.UTF-8 to the list of acceptable locales. This shall be
sufficient, at least in your case (and in many other cases as
well). Committed to the master branch; please pull it and check again.

> Best wishes, Colin.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]