[Lazarus] Converting all code to use UnicodeString

Juha Manninen juha.manninen62 at gmail.com
Tue Sep 26 00:52:14 CEST 2017

Marcos Douglas, this wiki page answers all your questions about using
Unicode with Lazarus:

On Mon, Sep 25, 2017 at 9:19 PM, Ondrej Pokorny via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> You will have to write your own methods with IFDEF-ed code for things
> where it matters (read/write from/to buffer, char-by-char iterations etc.).

For iterating codepoints or even "Unicode characters" (*) you don't need IFDEFs.
Unit LazUnicode provides helper functions and iterators for it.

(*) Unicode character here includes combining codepoints which covers
most practical use cases at least with western languages.


More information about the Lazarus mailing list