=?WINDOWS-1252?Q?Re:_Quotation_marks:_Using_=93=94_instead_of_""?=



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.

iain


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]