On 5/19/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
On 5/19/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
>
> Only simple helper functions are in LCLProc.
> A lower/uppercase Unicode function is not simple and when eventually
> the LCL needs it, it would simply delegate the implementation to
> the LCL interfaces, which can simply call the appropriate library
> functions.
Which is why you must love Open Source software. :-)
Another Object Pascal based GUI Framework has already done all the
work for us and they used a BSD license so we are free to use what we
need.
Have a look at the LPTK project on Source Forge. Two units called
schar16.pas and unitkeys.pas
It contains a lot of functions: Upper, Lower, Pos, Length, conversions
from UTF-8 to UTF-16 and vice versa, character translations for
Latin1-Latin4, Arabic, Kana, Hungarian, Cyrillic, Hebrew, Thai, etc...
Lots we can use!
The reason I started writing my own library is because I wanted pure
Pascal libraries to use things. I dislike bindings to other libraries
written in different languages (such as QT). "I have a dream" to see
native tools for all common needs written in pure (Object) Pascal.
Secondly, I'm non Latin native speaker, so I find the need for Unicode
on all of it's glory (and bad things) a must rather then something
that can only be "good" additional support.
On my code, you can see that I prepared the ground for working with
TWideStringManager.
Oh, and it's MIT license (not as restrictive as BSD license ;))
Ido
--
Graeme Geldenhuys
General error, hit any user to continue.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
http://ik.homelinux.org/
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal