[fpc-pascal] cwstrings and uclibc

Ivo Steinmann ivo_steinmann at gmx.net
Tue Sep 16 02:37:07 CEST 2008


Florian Klaempfl schrieb:
> Felipe Monteiro de Carvalho schrieb:
>> Take a look at what a widestring manager must implement:
>>
>> http://www.freepascal.org/docs-html/rtl/system/twidestringmanager.html
>>
>> The hardest parts to implement ourselves are ansi to widestring
>
> You can always go the way ansi -> unicode -> ansi.
>
>> (because there are dozens of possible encodings for ansi) and
>> uppercase/lowercase.
>>
>
> Unicode provides tables for this. This is not hard but blows up
> executables and/or distro size.
>
load those tables dynamically - it's even possible to write a parser for
the original tables from Unicode ;)  (i did)



More information about the fpc-pascal mailing list