[fpc-pascal] cwstrings and uclibc

JoshyFun joshyfun at gmail.com
Mon Sep 15 17:21:41 CEST 2008

Hello Felipe,

Monday, September 15, 2008, 2:33:22 PM, you wrote:

FMdC> Take a look at what a widestring manager must implement:

FMdC> http://www.freepascal.org/docs-html/rtl/system/twidestringmanager.html

FMdC> The hardest parts to implement ourselves are ansi to widestring
FMdC> (because there are dozens of possible encodings for ansi) and
FMdC> uppercase/lowercase.

I have partially ready upper/lower (generic case, not locale
dependent), sametext and some others in early stage like decompose and
compose and also some iterators like next word, next line, next

About codepage to unicode and viceversa I only have a bunch of them,
mostly the 8859-x ones.

The "problem" is that the current code is not ready to be used as it
has not been strongly tested. Also decompose and others are even
not ready to be tested against the oficial test cases, so I do not
know if the implementation is OK.

I'm now trying to reduce the tables size as some are by default too
big, but some optimizations can be implemented like fixed offset
tables for some upper/lower ranges which will improve speed and space
at the same time.

Best regards,

More information about the fpc-pascal mailing list