[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] kcolordialog
From: Thiago Macieira <thiago () kde ! org>
Date: 2005-04-24 15:33:23
Message-ID: 200504241233.32766.thiago () kde ! org
[Download RAW message or body]
Adriaan de Groot wrote:
>On Sunday 24 April 2005 02:12, Jaroslaw Staniek wrote:
>> Right, I've done it now...
>>
>> if (!colorName.isEmpty())
>> colorName[0] = colorName[0].upper();
>
>I believe that fails for some languages where upper-casing is poorly
> defined. Turkish, with its "ı" comes to mind, but I don't know if it
> will cause problems here. It'd be a good idea to check with the
> translation list if this is feasible.
Qt3 doesn't do locale-aware uppercasing, so i will never be uppercased to
İ, even when it should.
Qt4 hasn't yet fixed the bug. If/when they do, I hope there will be a
locale-unaware uppercasing function. Or, if there isn't, we'll need an
ASCII-only uppercasing of our own.
In this case, where i18n is involved, locale-aware should be used. Which
means that Turkish will fail if the word contains "i" to be matched to
"İ".
--
Thiago Macieira - thiago (AT) macieira (DOT) info
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic