
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/25/10 17:05 , Roman Cheplyaka wrote:
By the way, GTK (which internally uses UTF-8 for strings) treats this problem differently -- it has special variable G_FILENAME_ENCODING and also G_BROKEN_FILENAMES (which means that filenames are encoded as locale says). I have no clue how their G_* variables are better than our conventional LC_* variables though. http://www.gtk.org/api/2.6/glib/glib-Character-Set-Conversion.html
I would assume what they really mean by this is that the filename encoding should be part of the file metadata and G_BROKEN_FILENAMES means it isn't. G_FILENAME_ENCODING would then be the encoding used when creating new files. - -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwlHcAACgkQIn7hlCsL25X1SQCgq6z+2CbiPbw4ECSABZaKmAhU 2PgAoLcK2SQAeyvLqWnr7cEz3uMCN98C =kdp+ -----END PGP SIGNATURE-----