I'm unsure whether this is a Lazarus issue, an fpc issue, or if I'm
doing something wrong.
I'm in Linux environment, where everything is supposed to be UTF8. LANG
environment is it_IT_.UTF-8, and I do not declare anything about
codepages, leaving Lazarus and fpc work with their defaults.
1) Under Lazarus 1.6 and fpc 3.0
If I declare
CamelStrings: array [0..5] of String =(
....
'Entry éèàù');
and I load the strings in a ComboBox, the ComboBox displays
Entry éèàù
as expected
But declaring
CamelStrings: array [0..5] of UTF8String =(
....
'Entry éèàù');
then the ComboBox displays
Entry éèà ù
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?
Giuliano
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus