Op Mon, 7 May 2007, schreef Christos Chryssochoidis:
> Hi,
>
> Are there any rtl functions to compute the length (in characters) of a
> widestring and to iterate over its characters?
If you treat it as UCS-2: length(widestring_variable)
> In my system (Mac OS X/fpc 2.1.3), a widestring is implemented as a UTF-8
> encoded string, as I found out.
Not possible, a widestring is UCS-2/UTF-16.
Daniël
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal