Stephen J. Turnbull wrote:
> And on OS X
> file-name-coding-system (and relatedly, the 'file-name coding system alias)
> is unconditionally UTF-8, independent of the locale coding system.
This is a good heuristic, since the most popular file system on OS X
is HFS+, which does try to enforce UTF-8 file names.
Although, OSX encodes accented characters using combining accents
rather than using pre-composed characters. IIRC, OS functions will
decompose any pre-composed characters automatically, but you need to
bear in mind that a byte string obtained from e.g. readdir() won't
necessarily match the byte string you passed when creating the file.
Needless to say, Unix/Linux just treats composed/decomposed versions
of the same text as entirely different filenames.
--
Glynn Clements <glynn(a)gclements.plus.com>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta