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

Juha Manninen juha.manninen62 at gmail.com
Sun Feb 15 20:52:26 CET 2015


On Sun, Feb 15, 2015 at 8:18 PM, FreeMan <freeman35 at delphiturkiye.com> wrote:
> -FcUTF8 added, have to use this Juha's suggestion directive too?
> "-dEnableUTF8RTL"

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