[Lazarus] upper & lower case problem

zeljko zeljko at holobit.net
Mon Apr 20 10:48:46 CEST 2015


On 04/20/2015 10:40 AM, FreeMan wrote:
> On 20.04.2015 00:17, Vojtěch Čihák wrote:
>>
>> I just tested on Qt (Lazarus 1.5 r48755M FPC 3.1.1 x86_64-linux-qt)
>>
>> and works well. Isn't it wrong autosizing of TLabel on GTk2 rather
>> than some encoding problem?
>>
> There is no resize problem, I wrote, encoding problem. I wrote answer to
> Juha's mail, why important.
> TLabel "ÖLDÜ" painting "OLDU"
> translate to english
> TLabel "DIED" painting "BORN"
> codepage has been big problem in this year :(

Why translation ? AFAIR, you used (I've deleted original post), 
UpperCase, or AnsiUpperCase, and IMO that's wrong. Have you tried with 
UTF8UpperCase (or UpperCaseUTF8) from LazUTF8 ?

zeljko





More information about the Lazarus mailing list