Subject: Re: Unicode support in iso9660.
To: SODA Noriyuki <soda@sra.co.jp>
From: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
List: tech-kern
Date: 11/22/2004 10:15:01
On Fri, 19 Nov 2004 19:34:29 +0000, SODA Noriyuki wrote:

>>>>>> On Fri, 19 Nov 2004 07:44:46 -0800,
> 	Jason Thorpe <thorpej@shagadelic.org> said:
> 
>> i.e. userland gives UTF-8 names to the kernel, the kernel gives UTF-8
>> names to userland.  It would then be the responsibility of the
>> individual applications/system libraries/kernel subsystems to do
>> whatever translation to/from UTF-8 is required.
> 
> This is just impossible due to compatibility reasons. Nearly all existing
> applications assume that the encoding of pathnames is same with the
> codeset of current locale. Thus, if UTF-8 was only allowed for system call
> interface, all people except who only use US-ASCII got catastrophic
> results.

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.

See
http://developer.gnome.org/doc/API/2.0/glib/glib-Character-Set-Conversion.html
(scroll down to Description - File Name Encodings).

Bye	Pavel