From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Strange behaviour with dired and UTF8 Date: Mon, 05 May 2003 10:32:01 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052145670 30354 80.91.224.249 (5 May 2003 14:41:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 May 2003 14:41:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 05 16:41:02 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 19Ch1b-0007Pi-00 for ; Mon, 05 May 2003 16:33:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Ch4d-0001fO-00 for ; Mon, 05 May 2003 16:36:11 +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 19Ch1p-0005VW-02 for emacs-devel@quimby.gnus.org; Mon, 05 May 2003 10:33:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19Ch1G-0005BT-00 for emacs-devel@gnu.org; Mon, 05 May 2003 10:32:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19Ch13-0004at-00 for emacs-devel@gnu.org; Mon, 05 May 2003 10:32:30 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Ch0b-0003zi-00 for emacs-devel@gnu.org; Mon, 05 May 2003 10:32:01 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 19Ch0b-0000hz-00; Mon, 05 May 2003 10:32:01 -0400 Original-To: "Jan D." In-reply-to: (jan.h.d@swipnet.se) Original-cc: handa@m17n.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:13693 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13693 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." 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.