[fpc-pascal] UTF8Decode -- string length
spir ☣
denis.spir at gmail.com
Tue May 11 10:06:25 CEST 2010
On Tue, 11 May 2010 09:15:46 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> In that case the FPC documentation is wrong. Then could you correct the ref
> documentation please - Section 3.2.5. As quoted below, the docs say
> WideString is reference counted.
>
>
> ----------[ FPC 2.4 language reference doc ]-----------------
> 3.2.5 WideStrings
> Widestrings (used to represent unicode character strings) are implemented
> in much the same way as ansistrings: reference counted, null-terminated
> arrays, only they are implemented as arrays of WideChars instead of regular
> Chars.
> --------------------------------------------------------------
Sorry for highjacking the thread: I take the opportunity to ask about string size. Is it maintained in the data structure, or computed when required? (I mean: is there a notable cost for length()?)
Denis
________________________________
vit esse estrany ☣
spir.wikidot.com
More information about the fpc-pascal
mailing list