Subject: Re: Unicode support in iso9660.
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-kern
Date: 11/22/2004 13:40:56
On Mon, Nov 22, 2004 at 05:59:57AM -0500, der Mouse wrote:
> What are they supposed to do upon encountering a
> pathname component containing an octet sequence which is not UTF-8?  I
> can't think of _any_ action which isn't wrong in a substantial fraction
> of the cases.

You can override the default behaviour for all glib2-using programs
by setting the environment variable G_FILENAME_ENCODING to the
filename encoding you use, e.g. "ISO-8859-1".

If you don't set this, and glib2 encounters a filename that's not valid
UTF-8, it outputs errors to stdout.
 Thomas