From: Wang Lei <wanglei.198112@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Chinese in tramp become ????s
Date: Mon, 3 Aug 2009 21:31:20 +0800 [thread overview]
Message-ID: <a0a0cf140908030631n3a24804fp4205ebdb97df3b74@mail.gmail.com> (raw)
In-Reply-To: <87ljm1a6go.fsf@gmx.de>
Yes! It works.
This problem is my headache for a long time. Finally, it's solved.
Thanks, Michael! Thanks you all!
On 8/3/09, Michael Albinus <michael.albinus@gmx.de> wrote:
> Wang Lei <wanglei.198112@gmail.com> writes:
>
>>>> In tramp mode, when I create a direcotry named 你好, it displays
>>>> '??????', this is the describe-char's output:
>>>
>>> Same here. However, if I open /ssh:host:/path/你好/ I can continue to
>>> work. So it seems to be a problem of /bin/ls
>>>
>> Then. Maybe it's a su's problem?
>
> It's an environment problem. Tramp sets LC_ALL to "C". You should do the
> following, before connecting via "su":
>
> (add-to-list 'tramp-remote-process-environment "LANG=zh_CN.utf8" 'append)
> (add-to-list 'tramp-remote-process-environment "LC_ALL=zh_CN.utf8" 'append)
>
> Best regards, Michael.
>
--
Regards
Lei
next prev parent reply other threads:[~2009-08-03 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 11:42 Chinese in tramp become ????s Wang Lei
2009-07-30 4:38 ` Michael Albinus
2009-07-30 4:57 ` Wang Lei
2009-07-30 5:00 ` Michael Albinus
2009-07-31 11:46 ` Wang Lei
2009-07-31 14:07 ` Michael Albinus
2009-08-01 1:50 ` Wang Lei
2009-08-03 4:04 ` Michael Albinus
2009-08-03 13:31 ` Wang Lei [this message]
[not found] <mailman.3380.1248867788.2239.help-gnu-emacs@gnu.org>
2009-07-31 13:33 ` Colin S. Miller
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0a0cf140908030631n3a24804fp4205ebdb97df3b74@mail.gmail.com \
--to=wanglei.198112@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.