all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Piet van Oostrum <piet@cs.uu.nl>
Subject: Re: Reading national characters in filenames on Mac OS X?
Date: 28 Apr 2003 20:42:58 +0200	[thread overview]
Message-ID: <wz8ytuea4t.fsf@nono.cs.uu.nl> (raw)
In-Reply-To: 84adebwydl.fsf@lucy.is.informatik.uni-duisburg.de

>>>>> kai.grossjohann@gmx.net (Kai Großjohann) (KG) wrote:

KG> Piet van Oostrum <piet@cs.uu.nl> 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 <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl

  parent reply	other threads:[~2003-04-28 18:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-26  7:18 Reading national characters in filenames on Mac OS X? Jonas Steverud
2003-04-26 14:29 ` Kai Großjohann
2003-04-27  5:06   ` Karl Eichwalder
2003-04-27  6:48     ` Jonas Steverud
2003-04-27 11:59       ` Kai Großjohann
2003-04-27 19:21         ` Jonas Steverud
2003-04-27 19:35           ` Kai Großjohann
2003-04-27 13:02       ` Karl Eichwalder
2003-04-27 11:58     ` Kai Großjohann
2003-04-27 12:57       ` Karl Eichwalder
2003-04-27 14:04         ` Kai Großjohann
2003-04-27 17:19           ` Karl Eichwalder
2003-04-27 19:24           ` Jonas Steverud
2003-04-27 14:28       ` Piet van Oostrum
2003-04-27 19:09         ` Kai Großjohann
2003-04-27 19:37           ` Jonas Steverud
2003-04-27 19:50             ` Kai Großjohann
2003-04-28 18:42           ` Piet van Oostrum [this message]
2003-04-28 20:16             ` Jonas Steverud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wz8ytuea4t.fsf@nono.cs.uu.nl \
    --to=piet@cs.uu.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.