is utf-8 the standard filename encoding?
John Arbash Meinel
john at arbash-meinel.com
Wed Dec 21 15:26:59 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
> On U1 we have a lot of code to handle this, because we also deal
> with windows, where things are completely different.
I'd be interested to hear more, given that on Windows the filesystem
encoding of NTFS is officially UTF-16 (without surrogate pairs, I
believe, making it UCS-2).
So while there are lots of 8-bit mappings on Windows (code page, ANSI,
OEM, file-content vs filename, etc, etc.), the filenames on disk are
all Unicode. (FAT-32 is probably a different story, though.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7x+sIACgkQJdeBCYSNAAM+YQCfRhDmhnro1aDTmWcDbUqKxR78
zhMAoKvXGJTX4SrUgw5vfS3uRkRlmqLL
=yn10
-----END PGP SIGNATURE-----
More information about the ubuntu-devel
mailing list