[Bug locale/14130] Add utf-8-mac encoding to iconv
bruno at clisp dot org
sourceware-bugzilla@sourceware.org
Fri Oct 14 01:39:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=14130
Bruno Haible <bruno at clisp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bruno at clisp dot org
--- Comment #2 from Bruno Haible <bruno at clisp dot org> ---
The industry-wide convention is that user-visible Unicode strings/texts are
encoded in NFC form.
Only Mac OS X has the problem that its file names (not only in HFS+, but in all
file systems) ought to be in Unicode 3.0 NFD form. A file name with accented
characters in NFC form (that you may see through a remote mount) will be
visible through 'ls' but most operations that access the file will fail.
This is a problem with Mac OS X and it needs to be solved on Mac OS X. Mac OS X
has the means to solve it: see comment #30 in
https://code.google.com/archive/p/macfuse/issues/139 . It relies on the
"UTF-8-MAC" encoding that Apple has added to the iconv facility on Mac OS X.
You would make your global situation worse if you tried to copy this broken
behaviour to a glibc system, through a 'mount' with "UTF-8-MAC" encoding. For
example, 'find' and wildcards will then match unexpected files.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list