Daichi Kawahata wrote: > By the way, it's no longer used, G_FILENAME_ENCODING is the one, > and my setting is G_FILENAME_ENCODING="@locale". The language > French isn't broken as well as Japanese, in my opinion.
I go with this one. That means there will be no options in the GUI unless someone else implements it. G_FILENAME_ENCODING takes a comma-separated list of character set names. For newly created files, only the first character set is used to convert from UTF-8. When converting filenames of existing files to UTF-8, the list is tried in order until conversion succeeds - ASCII is used as last resort. In theory, the latter may have false-positives of course. Thus use an optimum order (if there's any) for your purposes. The default character set used for filenames is UTF-8. If you want to use the current locale instead use G_FILENAME_ENCODING="@locale" or G_FILENAME_ENCODING="@locale,ISO-8859-1,<whatever>" etc. Since we need emulation of this for GLib 1.2.x and older versions of GLib 2.x anyway, GTKG will simply use its own routines. However for the moment, I'll only use first element of the list (i.e., the primary filename character set), so don't be surprised if <whatever> -> UTF-8 conversion doesn't work. -- Christian
pgpasW1Z1azbZ.pgp
Description: PGP signature
