[Lazarus] Encoding agnostic functions for codepoints + an iterator
Juha Manninen
juha.manninen62 at gmail.com
Mon Jun 20 14:29:35 CEST 2016
On Mon, Jun 20, 2016 at 3:14 PM, Bart <bartjunk64 at gmail.com> wrote:
> i := CodePointLength(s); // Should return 26.
Ok, the source is wrong. I had changed the string after the comment.
It should be:
i := CodePointLength(s); // Should return 30.
> A tip: put the -dUseUtf16 in a seperate buildmode?
Yes, a good idea. If I make a new version, I will include that.
About Theo's UTF8 Tools and UTF8Scanner. I understand they work with
CodePoints only.
Juha
More information about the Lazarus
mailing list