Re: About GTK2 and i18n (Chinese)
- From: Andrew Dunbar <hippietrail yahoo com>
- To: Pablo Saratxaga <pablo mandrakesoft com>, gtk-i18n-list gnome org
- Subject: Re: About GTK2 and i18n (Chinese)
- Date: Tue, 30 Apr 2002 15:13:33 +0100 (BST)
--- Pablo Saratxaga <pablo mandrakesoft com> wrote: >
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).
Not quite true. Some CJK encodings have two-byte
sequences which look just like UTF-8. I bet it's
even possible in Eastern European languages.
You can always tell when a string is legal UTF-8 but
you can't always tell if it's not also legally
something else.
Andrew Dunbar.
> 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
>
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
=====
http://linguaphile.sourceforge.net http://www.abisource.com
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]