From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Strange behaviour with dired and UTF8 Date: Wed, 7 May 2003 17:51:19 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1052323333 20968 80.91.224.249 (7 May 2003 16:02:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 7 May 2003 16:02:13 +0000 (UTC) Cc: handa@m17n.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 07 18:02:11 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19DRHY-0004xT-00 for ; Wed, 07 May 2003 17:56:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19DRLb-0005KJ-00 for ; Wed, 07 May 2003 18:00:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DRHN-0000xo-04 for emacs-devel@quimby.gnus.org; Wed, 07 May 2003 11:56:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19DRGI-0000SD-00 for emacs-devel@gnu.org; Wed, 07 May 2003 11:55:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19DRFV-0008E9-00 for emacs-devel@gnu.org; Wed, 07 May 2003 11:54:52 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DRDc-0006Oh-00; Wed, 07 May 2003 11:52:33 -0400 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h47Gh1S3022796; Wed, 7 May 2003 18:43:01 +0200 Original-To: rms@gnu.org In-Reply-To: X-Mailer: Apple Mail (2.552) Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13748 > The situiation I have is that there are directories with file > names in > different encodings. Latin-1 is most frequent, which is why I say > file name encoding is latin-1. But some directories contain other > encodings, UTF-8 among them. > > Perhaps what we should do is record the proper coding system to use > for a given buffer's file name string. That way, when you visit a > buffer from a directory whose names are UTF-8 encoded, the > buffer will say "use UTF-8 to encode my file name." This is basically Handa:s proposal. > We could also conceivably record this info in the file-name string > itself; but I have a bad feeling that that will lead to some sort > of incoherence that I cannot see at present. This is basically my proposal. I think Handa:s proposal is easier to implement. Jan D.