On Mon, Jun 16, 2008 at 7:11 PM, Alan Cox <[EMAIL PROTECTED]> wrote: > On Mon, 16 Jun 2008 17:48:31 +0100 > "Iain *" <[EMAIL PROTECTED]> wrote: > >> On Mon, Jun 16, 2008 at 11:20 AM, Alan Cox <[EMAIL PROTECTED]> wrote: >> > In LANG=C you call gtk_label_new with UTF-8 strings. What happens at that >> > point depends if gtk_label_new ever calls a single C library function >> > that is locale dependant (eg strcasecmp). >> >> All of GTK is utf-8 compatible. >> This is the point we're trying to make. > > UTF-8 compatible is not the same thing as 'can feed utf-8 to the code > when in a non UTF-8 locale' > > Glibc is UTF-8 compatible but it will give you the wrong answers if you > feed UTF-8 data to it in a non-utf8 locale.
Alan, seriously. You know exactly what I mean. GTK functions only accept UTF-8 data. They work perfectly when you pass them UTF-8 data no matter what your locale. iain _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
