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

FreeMan freeman35 at delphiturkiye.com
Mon Feb 16 12:20:31 CET 2015


Thank you Juha,
I add -dEnableUTF8RTL & -FcUTF8 and I'll not use shortstring, no 
metter.  I can not much detail, but first view is, some message and my 
application create some folder and that has a Turkish chars, now in 
message and in created folder name is okey. I mean Turkish chars is view 
normal now. Some string function can check later.

On 15.02.2015 21:52, Juha Manninen wrote:
> Only if you want to use the improved UTF8 support. See the wiki page:
>    http://wiki.freepascal.org/Better_LCL_Unicode_Support
>
> Indeed my suggestion was not relevant for your problem.
> -dEnableUTF8RTL changes encoding of String type but not ShortString.
>
> However as you have plenty of energy you should define EnableUTF8RTL
> and test with it.
> Remember, it must be in "Additions and Overrides" to affect all
> dependent packages.
> We expect more issues with Windows API calls. They should be added to
> the "Open issues" section of the wiki page.
>
> Juha





More information about the Lazarus mailing list