[Lazarus] Case error with cirilyc

Alexander Klenin klenin at gmail.com
Thu Sep 17 08:40:16 CEST 2009


On Thu, Sep 17, 2009 at 17:14, dmitry boyarintsev
<skalogryz.lists at gmail.com> wrote:
>> But this does not work if the ch is from a LCL component.
>>
>> E.g
>> ch := Label.Caption[1];
>> Because the caption will be UTF8 encoded.
>
> well, it would work for:
>  ch := UTF8Decode(Label.Caption)[1];
>

It should also work in FPC trunk, since "case of string" is implemented there.

-- 
Alexander S. Klenin




More information about the Lazarus mailing list