From: James Cloos <cloos@jhcloos.com>
Cc: help-gnu-emacs@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: UTF-8 in path / filename
Date: Mon, 28 Aug 2006 11:11:14 -0400 [thread overview]
Message-ID: <m3ac5onbdi.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <25A143BA-4E99-4FF9-B6C0-A8F42146D0C9@Web.DE> (Peter Dyballa's message of "Sun, 27 Aug 2006 15:12:15 +0200")
JimC> Doesn't apple by default use NFD (Normalizaion Form Decomposed)
JimC> for filenames? That would explain the <vowel><box> sequences.
Peter> Yes, that's the correct term for the way file names are
Peter> recorded in HFS+.
So then the problem is narrowed to support for composition.
I just gave it a test, running the unicode-2 branch on a linux box,
using the en_US-UTF8 locale.
I copied the filename you quoted (äöüæÆÜÖÄ.txt), gave it a prefix to
ease globbing (resulting in /tmp/xxx-äöüæÆÜÖÄ.txt), and ran find-file
on /tmp. It worked correctly. (Well, almost; the glyphs composed by
emacs have twice the height of pre-composed glyphs. There was a time
when emacs didn't do that, but it is doing it again. Including in
this buffer. But that looks to be specific to --enable-font-backend
and DejaVu Sans Mono. With other fonts I do not get visible accents,
even though C-u C-x = claims it is composing. And without --e-f-b I
get composed glyphs which have correct vertical metrics.)
I also tested this:
:; echo /tmp/xxx-a*
and got the filename, showing that bash treats the code points as
separate characters when globbing. (Which also means I didn't
actually need the xxx- prefix, since a* will therefore match the
original filename....)
So. Does C-u C-x = claim to be composing for you?
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 0xED7DAEA6
next prev parent reply other threads:[~2006-08-28 15:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-24 13:59 UTF-8 in path / filename Grégory SCHMITT
2006-08-24 14:42 ` Noah Slater
2006-08-25 12:08 ` Peter Dyballa
[not found] ` <mailman.5606.1156507702.9609.help-gnu-emacs@gnu.org>
2006-08-25 13:42 ` Grégory SCHMITT
2006-08-25 18:35 ` Peter Dyballa
2006-08-25 22:06 ` Grégory SCHMITT
2006-08-25 22:55 ` Peter Dyballa
[not found] ` <mailman.5656.1156546542.9609.help-gnu-emacs@gnu.org>
2006-08-25 23:06 ` Grégory SCHMITT
2006-08-25 23:09 ` Miles Bader
2006-08-26 9:36 ` Peter Dyballa
2006-08-26 22:13 ` James Cloos
2006-08-27 13:12 ` Peter Dyballa
2006-08-28 15:11 ` James Cloos [this message]
2006-08-28 15:55 ` Peter Dyballa
[not found] ` <mailman.5694.1156630455.9609.help-gnu-emacs@gnu.org>
2006-08-27 8:46 ` Harald Hanche-Olsen
[not found] ` <mailman.5657.1156547377.9609.help-gnu-emacs@gnu.org>
2006-08-25 23:22 ` Grégory SCHMITT
2006-08-25 23:25 ` Miles Bader
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=m3ac5onbdi.fsf@lugabout.jhcloos.org \
--to=cloos@jhcloos.com \
--cc=help-gnu-emacs@gnu.org \
--cc=miles@gnu.org \
/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.