[Lazarus] Set UTF-8 in RTL has create error in const definitaion

FreeMan freeman35 at delphiturkiye.com
Sun Feb 15 14:26:28 CET 2015


I get this error when compile project (-FcUTF8)
....
const
   TBS_Captions: array[0..2, 0..1] of string[15] = ( ('Anamnez','ANAMNEZ'),
                                                     ('Bağlı 
Dosyalar','BAĞLI DOSYALAR'), //<-Copy & paste here ->original in source 
editor('Bağlı Dosyalar','BAОLI DOSYALAR'),
('Notlar','NOTLAR')
                                                   );
....
Error: Unicodechar/string constants cannot be converted to 
ansi/shortstring at compile-time




More information about the Lazarus mailing list