[fpc-pascal] cwstrings unit and UTF8Decode()

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Mar 25 16:23:03 CET 2016

On Fri, Mar 25, 2016 at 3:16 PM, Michael Van Canneyt
<michael at freepascal.org> wrote:
> "lazutf8 doesn't depending" when it is in the uses clause, sounds a bit
> strange to me :-)

Important part you are forgetting: {$IFDEF UTF8_RTL}

I don't know why it is needed in the utf-8 RTL, since I haven't used
this RTL yet, but in the RTL that I am using it doesn't depend in that
unit :)

Anyway, what I meant is that the routines themselves are Pascal
implementations of the Unicode standard. We even have
uppercase/lowercase tables. So we depend as little as possible on
system stuff. More reliable, more cross-platform and some routines
actually are several times faster than system ones.

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list