[Lazarus] Does Lazarus support a complete Unicode Component Library?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Feb 17 00:02:11 CET 2011


Michael Schnell schrieb:

>> I'm pretty sure that such strings will be widely used, by people that 
>> prefer to use string indexing with a fixed character size.
> Yep. Bus as discussed here earlier, Length() - that needs to be done 
> with the same paradigm as mystr[i] - is a problem. When using e.g. 
> stream-I/O people will want it to be the byte count, when doing a loop 
> along a string, they want it to be the unicode-character count.

That's why such loops should be disallowed with Unicode strings, as kind 
of low level string handling. For-Each loops may be acceptable as high 
level string handling, but with what type of the loop variable???

DoDi





More information about the Lazarus mailing list