#272727 [iconv] Support for UTF-8-MAC

Package:
libc6
Source:
glibc
Description:
GNU C Library: Shared libraries
Submitter:
Loïc Minier
Date:
2019-10-26 08:51:03 UTC
Severity:
wishlist
#272727#5
Date:
2004-09-21 16:22:54 UTC
From:
To:
     Hi,

 MacOSX' iconv supports a charset called "UTF-8-MAC", and I wish Debian
 would:
 lool@macosx % iconv -l | grep UTF-8-MAC
 UTF-8-MAC UTF8-MAC

 It is used -- among other things -- in filenames, and it makes sharing
 of files between systems that supports UTF-8-MAC and systems that don't
 harder.

 A good example of why it would be useful to support UTF-8-MAC is with
 FTP software.  lftp for example permits charset translations, but if I
 connect from my Debian box to a MacOSX FTP server, it will list
 filenames in UTF-8-MAC and I won't be able to convert from it / to it,
 thus I won't get 8-bit filenames through FTP.  Protocols like SMB can
 do some charset detection and thus translation, but the problem remains
 the same when the client has to translate (ie the server serves in
 UTF-8-MAC).

 I think the files necessary to support UTF-8-MAC are already freely
 available under GPL from Apple's OpenSource portal, for example:
    <http://www.opensource.apple.com/darwinsource/10.3.5/libiconv-9/
libiconv/lib/utf8mac.h>

   Regards,