[fpc-devel] Controlling the output of the widestring manager

Florian Klaempfl florian at freepascal.org
Sun Dec 2 12:27:13 CET 2007

Marco van de Voort schrieb:
>> Marco van de Voort schrieb:
>>>> the beginning this is okay.
>>>> The API, however, should be solid and future proof, as it needs to be 
>>>> backward compatible.
>>> Since we are talking about expanding the widestringmanager, I'm considering
>>> adding mblen. This because I encountered people using unit libc for it a few
>>> times. It is also a needed primitive to safely walk a string with any 
>>> encoding style that has non fixed codepoint size.
>> Feel free to do so.
> I'm trying to find the windows eq first. It seems that charnext is only for
> MBCS, not UTF-8. (and I assume we want UTF-8 ?)

No. The rtl assumes that ansistrings always use the encoding used by the

More information about the fpc-devel mailing list