On Wed, 7 Sep 2016 13:09:07 +0200
Giuliano Colla <[email protected]> wrote:

>[...]
>    CamelStrings: array [0..5] of UTF8String =(
>    ....
>    'Entry éèàù');
> 
> then the ComboBox displays
> 
>    Entry éèà ù

FPC does not use your LANG variable. Instead it always assumes
ISO-8859-1. See here:
http://wiki.lazarus.freepascal.org/FPC_Unicode_support#String_constants

Same for WideString and UnicodeString.

 
> 2) Under Lazarus 1.4.5 and fpc 2.6.4
> 
> Declaring either String or UTF8String doesn't make any difference, and 
> the ComboBox always displays the proper string.
> 
> What I'm missing? Is that an "improvement" generated by fpc 3.0.0 or I'm 
> doing something wrong?


Mattias
-- 
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to