From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.help Subject: Re: Reading national characters in filenames on Mac OS X? Date: 28 Apr 2003 20:42:58 +0200 Organization: Dept of Computer Science, Utrecht University, The Netherlands Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <843ck5e3il.fsf@lucy.is.informatik.uni-duisburg.de> <84ptn8xicr.fsf@lucy.is.informatik.uni-duisburg.de> <84adebwydl.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051556169 6676 80.91.224.249 (28 Apr 2003 18:56:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 18:56:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 20:56:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ADmv-0001hr-00 for ; Mon, 28 Apr 2003 20:55:41 +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 19ADmm-0001Zk-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 28 Apr 2003 14:55:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!news.telebyte.nl!news.nl.linux.org!humbolt.nl.linux.org!phil.uu.nl!cs.uu.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: modena.cs.uu.nl Original-X-Trace: june.cs.uu.nl 1051555970 13682 131.211.80.35 (28 Apr 2003 18:52:50 GMT) Original-X-Complaints-To: news@cs.uu.nl Original-NNTP-Posting-Date: Mon, 28 Apr 2003 18:52:50 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:112465 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8962 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8962 >>>>> kai.grossjohann@gmx.net (Kai Großjohann) (KG) wrote: KG> Piet van Oostrum writes: >> You can open and create the files and directories properly with the utf-8 >> file-name-coding. The only thing is dired will not display the filename >> properly. This is because Mac OSX uses normalised UTF-8 for the filenames, >> which means that the accent character is separated from the letter and put >> behind it. And Emacs UTF-8 implementation doesn't understand this. KG> Ah, I didn't know what was meant by «normalized UTF-8». It's a pity KG> that Emacs doesn't grok it. I should have said: Normalised Unicode rather than normalised UTF-8. Although in the Mac filesystem of course each character arising from the normalisation is encoded as UTF-8. The Mac OSX system has functions to do the conversion in both directions (for filenames), so it would in principle be possible to display filenames properly. However, dired mode just puts the output of ls in the buffer, It just assumes that ls outputs proper characters. So to have utf-8 recognise the `decomposed' characters would be best. -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl