[Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?
Juha Manninen
juha.manninen62 at gmail.com
Fri Oct 21 10:24:07 CEST 2016
On Fri, Oct 21, 2016 at 10:03 AM, Gabor Boros via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> UTF8* is good to me but a compiler directive is easier to use, just don't
> know why not working properly.
Please the wiki page you found. It is explained there.
http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus#String_Literals
> What is the proper way to read through (character after character) the
> string if use UTF8* procedures?
A "character" in Unicode is an ambiguous term.
Often the good old byte (codeunit) access is very useful.
See:
http://wiki.freepascal.org/UTF8_strings_and_characters
Juha
More information about the Lazarus
mailing list