Re: About GTK2 and i18n (Chinese)
- From: Pablo Saratxaga <pablo mandrakesoft com>
- To: gtk-i18n-list gnome org
- Subject: Re: About GTK2 and i18n (Chinese)
- Date: Tue, 30 Apr 2002 11:39:13 +0200
Kaixo!
On Mon, Apr 29, 2002 at 11:58:21PM -0400, Owen Taylor wrote:
> If you set the G_BROKEN_FILENAME environment variable, GTK+
> will treat all filenames as the encoding of your locale.
>
> Autodetection isn't really possible on something as short
> as a filename.
Well, an utf-8 string can always be autodetected, even with a string as
short as a single char (that's one of the nice things with utf-8).
So, a nice default behaviour for gtk2 would be, if the locale is not utf-8,
to handle all file names that have 8bit bytes that don't conform to a utf-8
sequence as if they were in the locale encoding, it will work nice in almost
all cases.
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]