emacs-devel
[Top][All Lists]
Advanced

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

Re: FAILED tramp-test34-utf8


From: Colin Baxter
Subject: Re: FAILED tramp-test34-utf8
Date: Thu, 30 Mar 2017 18:19:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Dear Michael,

On Thu, Mar 30 2017, Michael Albinus wrote:

> 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
>> POSIX
>> 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.
>

Success. I re-pulled emacs and ran 'make check' again. According to the
tramp-tests.log, all 31 tests passed as expected. And thank you for
the interesting information about locales.

Best wishes, Colin.



reply via email to

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