Re: [fpc-pascal] Widestrings length and character iteration

2007-05-07 Thread Daniƫl Mantione
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 im

[fpc-pascal] Widestrings length and character iteration

2007-05-07 Thread Christos Chryssochoidis
Hi, Are there any rtl functions to compute the length (in characters) of a widestring and to iterate over its characters? In my system (Mac OS X/fpc 2.1.3), a widestring is implemented as a UTF-8 encoded string, as I found out. Thanks ___ fpc-pas