[fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Sep 26 11:36:03 CEST 2008
On Fri, Sep 26, 2008 at 11:31 AM, Marco van de Voort <marcov at stack.nl> wrote:
>> Someone writing a spell checker for old-Egyptian Hieroglyphs will have to
>> deal with surrogates. For those people UTF-16 has few advantages over
>> UTF-8, (allthough in practice it's still a bit easier to handle than UTF-8).
>
> IMHO such assumptions can be made for end user businesscode. (and only if the CJK
> pages above $FFFF are ancient and not in modern use), however the RTL and
> other libraries should be simply unicode complaint. Period.
I fully agree.... In fact, the application developers should even be
bother with encoding types etc. All string functions and string
handling in the RTL should take care of that. [I can say that, because
I have no clue how the FPC & RTL internals works. ;-) ]
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list