From: Piet van Oostrum <piet@cs.uu.nl>
Subject: Re: Reading national characters in filenames on Mac OS X?
Date: 27 Apr 2003 16:28:42 +0200 [thread overview]
Message-ID: <wz7k9gvwth.fsf@nono.cs.uu.nl> (raw)
In-Reply-To: 84ptn8xicr.fsf@lucy.is.informatik.uni-duisburg.de
>>>>> kai.grossjohann@gmx.net (Kai Großjohann) (KG) wrote:
KG> Karl Eichwalder <keichwa@gmx.net> writes:
>> kai.grossjohann@gmx.net (Kai Großjohann) writes:
>>
>>> (set-file-name-coding-system 'utf-8) should work, I'd think.
>>
>> This might work up to some degree.
>>
>> The crucial point is to use Emacs from CVS (trunk or unicode branch).
>> Version 21.3 will expose problems sooner or later.
KG> Which problems? I thought that it would work as a first
KG> approximation, especially if you mainly need to support Latin-1
KG> characters in UTF-8 encoding. Of course, trying CJK stuff with the
KG> UTF-8 support in Emacs 21.3 won't work.
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.
So Äventyr comes out as A?ventyr where the ? is actually the Unicode
character 0x0308:
COMBINING DIAERESIS
= double dot above, umlaut
= Greek dialytika
= double derivative
--
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl
next prev parent reply other threads:[~2003-04-27 14:28 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 [this message]
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
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=wz7k9gvwth.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.