[Lazarus] Set UTF-8 in RTL has create error in const definitaion
FreeMan
freeman35 at delphiturkiye.com
Sun Feb 15 19:18:38 CET 2015
Thank you Mattias,
Solutions A is better for me.
This is work for me
TBS_Captions: array[0..2, 0..1] of string = (
('Anamnez','ANAMNEZ'),('Bağlı Dosyalar','BAĞLI
DOSYALAR'),('Notlar','NOTLAR'));
-FcUTF8 added, have to use this Juha's suggestion directive too?
"-dEnableUTF8RTL"
On 15.02.2015 17:52, Mattias Gaertner wrote:
> The string[15] is a shortstring.
> You can assign only systemcodepage literals to Shortstring.
>
> Solutions:
> a) change the constant to String.
> b) Put the constant into a unit with system codepage. For example:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150215/c88c4fd8/attachment-0003.html>
More information about the Lazarus
mailing list