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: Fri, 31 Jul 2009 19:46:02 +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 1249040816 30794 80.91.229.12 (31 Jul 2009 11:46:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 11:46:56 +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 Fri Jul 31 13:46:49 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 1MWqZV-0007sj-7U for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 13:46:49 +0200 Original-Received: from localhost ([127.0.0.1]:48931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWqZV-0003S0-2U for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 07:46:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWqYs-0003QF-Mg for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 07:46:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWqYm-0003HX-Iq for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 07:46:08 -0400 Original-Received: from [199.232.76.173] (port=50892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWqYm-0003HO-FP for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 07:46:04 -0400 Original-Received: from mail-qy0-f183.google.com ([209.85.221.183]:64068) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWqYl-0005qI-Jy for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 07:46:03 -0400 Original-Received: by qyk13 with SMTP id 13so2609983qyk.14 for ; Fri, 31 Jul 2009 04:46:02 -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=0EwnPSTEF0GRSBnQHYlfSiHehe5tElN93Yga5ro15JU=; b=x+xt8DwX+Tim3POQ0QaTpLxh2UC1KRfK52sNzXnVvheKA+ibnQ6zjZ6HltbWqk7k9c QHmgj0ijwObmrnYUzcP6N1zRGwLB1oQ9QmF9s53a/2zO+3oi1vxqlukd2urkZb9+pWpb TmOCxb2DObQ24y+xT2caoS9KYpph1RbzVMDKs= 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=UtwUbTrVqpOyIGvSTxXPz8yQo2cQUlfbdUxQfsP+yLhj+Rhdb0FGmdyBioRUAOmkZ6 qTq5jnW7ttQi2BeNrqN8LzGpZkWu1S++ZQ58LYU3/LLrzPgNs1qw5SHeyLChUqjq6n+r 8ptpjj8omYAaQYSv1aeBRhhGHepla/UfYjAKQ= Original-Received: by 10.220.73.5 with SMTP id o5mr2520512vcj.112.1249040762419; Fri, 31 Jul 2009 04:46:02 -0700 (PDT) In-Reply-To: <87ab2mwyra.fsf@gmx.de> 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:66565 Archived-At: Thanks for your help and patient, first. (tramp-version nil) "2.1.17-pre" (emacs-version) "GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.4) of 2009-07-05 on debian" [~] 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 configuration in .emacs --------------------------------- ;; tramp (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 displ= ays '??????', this is the describe-char's output: -------------------------------------- character: ? (63, #o77, #x3f) preferred charset: ascii (ASCII (ISO646 IRV)) code point: 0x3F syntax: . which means: punctuation category: .:Base, a:ASCII, l:Latin, r:Roman buffer code: #x3F file code: #x3F (encoded by coding system utf-8) display: by this font (glyph code) xft:-bitstream-Courier 10 Pitch-bold-normal-normal-*-17-*-*-*-m-0-iso10646-1 (#x20) Character code properties: customize what to show name: QUESTION MARK general-category: Po (Punctuation, Other) There are text properties here: dired-filename t face dired-directory fontified t help-echo "mouse-2: visit this file in other window" mouse-face highlight [back] ------------------------------------- On 7/30/09, Michael Albinus wrote: > Wang Lei writes: > >> I'v tried it, doesn't work. >> Any other advices? > > Hmm, hard for me, I don't use Chinese at all. > > Which Emacs/Tramp versions are you using? And do you have an example > file I could use for testing? Please tell me also, which coding system I > shall use. > > Best regards, Michael. > --=20 Regards Lei