Subject: Re: Unicode support in iso9660.
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Arto Huusko <arto.huusko@utu.fi>
List: tech-kern
Date: 11/22/2004 16:55:13
On Mon, 22 Nov 2004, der Mouse wrote:

> > It seems that all gtk2+ using applications (and this is a large
> > number of applications) are supposed to assume that all path names
> > are in UTF-8.
>
> That seems rather severely broken, for any application that reads
> filenames from the filesystem, since a lot of them will be used on
> filesystems (like current NetBSD with ffs) that *are*
> encoding-agnostic.  What are they supposed to do upon encountering a
> pathname component containing an octet sequence which is not UTF-8?

They are supposed to expect that the user knows this and has set
G_BROKEN_FILENAMES env var to indicate this (in which case the
glib system assumes the pathname encoding is what ever user's
locale says).