From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wang Lei Newsgroups: gmane.emacs.help Subject: Re: Chinese in tramp become ????s Date: Sat, 1 Aug 2009 09:50:27 +0800 Message-ID: References: <87r5vywzs4.fsf@gmx.de> <87ab2mwyra.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249091463 5330 80.91.229.12 (1 Aug 2009 01:51:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 01:51:03 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 03:50:57 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MX3kP-0008Bw-4T for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 03:50:57 +0200 Original-Received: from localhost ([127.0.0.1]:33534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX3kO-0005uu-GJ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 21:50:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MX3k2-0005up-0V for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 21:50:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MX3jx-0005ud-Jl for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 21:50:33 -0400 Original-Received: from [199.232.76.173] (port=42632 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX3jx-0005ua-Db for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 21:50:29 -0400 Original-Received: from mail-qy0-f183.google.com ([209.85.221.183]:52258) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MX3jx-0002Ap-00 for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 21:50:29 -0400 Original-Received: by qyk13 with SMTP id 13so3124870qyk.14 for ; Fri, 31 Jul 2009 18:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ODx6UYdXbzNjkDXvbeWe8OHLMTLN+KcRyMD599fLHug=; b=npsqPTWDNWNqMwrEokJHmHFfim4VEouVyQ5GHYuyBUf2NkJ5okQ3cMWGMMcsag2LEI z9bC7EtG6n5fUyXJJPWlmixasW8vSUqR16fBaD23FqG+OO4/pyI1yhcEHmry0Q38S/zt yBXx6oxwLuvLrTyutSRCyGOMdpw6aYokhueZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dzJOfOSGpQB4nUfDiBY7AdNRQUOLUgxNbblxLsXSiXhtuQCQCPYg4DDxTQw9SoxFuB grId+5rh+DYbA5NOG5to/hy2erigeD0W9wyhU55MdUYvG+ISkOzZ+73rYpan2jemczAW gIz9Rtq2SN2X5+weS2PrKLowE/Anvpf3nnmjs= Original-Received: by 10.220.73.5 with SMTP id o5mr3523208vcj.112.1249091427567; Fri, 31 Jul 2009 18:50:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66604 Archived-At: On 7/31/09, Michael Albinus wrote: > Wang Lei writes: > >> Thanks for your help and patient, first. > > What happens on the remote host, when you apply > > /bin/ls -al /path/ > > (assuming, that you have created /path/=E4=BD=A0=E5=A5=BD ) [~/tmp] /bin/ls -al total 48 drwxr-xr-x 5 lei lei 4096 2009-08-01 09:49 . drwxr-xr-x 27 lei lei 8192 2009-08-01 09:43 .. drwxr-xr-x 14 lei lei 4096 2009-07-30 18:12 coreutils-7.4 -rw-r--r-- 1 lei lei 18889 2009-06-05 08:47 coreutils_7.4-2.diff.gz -rw-r--r-- 1 lei lei 1247 2009-06-05 08:47 coreutils_7.4-2.dsc drwxr-xr-x 11 lei lei 4096 2009-02-10 12:36 grep-2.5.4 drwxr-xr-x 2 lei lei 4096 2009-08-01 09:49 =E4=BD=A0=E5=A5=BD > >> [~] locale >> LANG=3Den_US.UTF-8 >> LC_CTYPE=3Dzh_CN.utf8 >> LC_NUMERIC=3D"en_US.UTF-8" >> LC_TIME=3D"en_US.UTF-8" >> LC_COLLATE=3D"en_US.UTF-8" >> LC_MONETARY=3D"en_US.UTF-8" >> LC_MESSAGES=3D"en_US.UTF-8" >> LC_PAPER=3D"en_US.UTF-8" >> LC_NAME=3D"en_US.UTF-8" >> LC_ADDRESS=3D"en_US.UTF-8" >> LC_TELEPHONE=3D"en_US.UTF-8" >> LC_MEASUREMENT=3D"en_US.UTF-8" >> LC_IDENTIFICATION=3D"en_US.UTF-8" >> LC_ALL=3D > > Is this on the local or the remote host? > I don't use tramp from remote, just as a convenience for su. (require 'tramp) (setq password-cache nil tramp-default-method "su" tramp-default-user "root" tramp-default-host "debian") (add-to-list 'backup-directory-alist (cons tramp-file-name-regexp nil)) >> In tramp mode, when I create a direcotry named =E4=BD=A0=E5=A5=BD, it di= splays >> '??????', this is the describe-char's output: > > Same here. However, if I open /ssh:host:/path/=E4=BD=A0=E5=A5=BD/ I can c= ontinue to > work. So it seems to be a problem of /bin/ls > > Best regards, Michael. > Then. Maybe it's a su's problem? --=20 Regards Lei