unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Colin Baxter <m43cap@yandex.com>
Cc: emacs-devel@gnu.org
Subject: Re: FAILED  tramp-test34-utf8
Date: Thu, 30 Mar 2017 17:32:47 +0200	[thread overview]
Message-ID: <87tw6ag4ps.fsf@detlef> (raw)
In-Reply-To: <8760irvpli.fsf@yandex.com> (Colin Baxter's message of "Wed, 29 Mar 2017 20:40:25 +0100")

Colin Baxter <m43cap@yandex.com> 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.

> Best wishes, Colin.

Best regards, Michael.



  parent reply	other threads:[~2017-03-30 15:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28 15:16 FAILED tramp-test34-utf8 Colin Baxter
2017-03-28 18:04 ` Michael Albinus
2017-03-29  8:38   ` Colin Baxter
2017-03-29 11:34     ` Michael Albinus
2017-03-29 11:43       ` Michael Albinus
2017-03-29 12:13         ` Colin Baxter
2017-03-29 12:15           ` Michael Albinus
2017-03-29 12:14       ` Colin Baxter
2017-03-29 19:40       ` Colin Baxter
2017-03-30  2:57         ` Eli Zaretskii
2017-03-30  7:24         ` Colin Baxter
2017-03-30 15:32         ` Michael Albinus [this message]
2017-03-30 17:19           ` Colin Baxter
2017-03-29 14:38     ` Eli Zaretskii
2017-03-29 17:00       ` Michael Albinus
2017-03-29 17:16         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tw6ag4ps.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=m43cap@yandex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).