Re: Quotation marks: Using =?UTF-8?Q?=E2=80=9C=E2=80=9D?= instead of ""
- From: Shaun McCance <shaunm gnome org>
- To: Iain * <iaingnome gmail com>
- Cc: Wouter menubar gnome org, Dan Winship <danw gnome org>, Bolsterlee <uws+gnome xs4all nl>, Alan Cox <alan lxorguk ukuu org uk>, Bastien Nocera <hadess hadess net>, desktop-devel-list gnome org
- Subject: Re: Quotation marks: Using “” instead of ""
- Date: Mon, 16 Jun 2008 14:49:14 -0500
On Mon, 2008-06-16 at 19:41 +0100, Iain * wrote:
> On Mon, Jun 16, 2008 at 7:11 PM, Alan Cox <alan lxorguk ukuu org uk> wrote:
> > On Mon, 16 Jun 2008 17:48:31 +0100
> > "Iain *" <iaingnome gmail com> wrote:
> >
> >> On Mon, Jun 16, 2008 at 11:20 AM, Alan Cox <alan lxorguk ukuu org uk> 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.
Just to back this up:
http://library.gnome.org/devel/gtk/stable/gtk-question-index.html#id2776084
--
Shaun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]