[OGo-Developer] Re: libFoundation question
Helge Hess
developer@opengroupware.org
Fri, 6 Oct 2006 12:01:30 +0200
On Oct 6, 2006, at 07:22, G. Gibson wrote:
> I was wondering: what would it take to add unicode support to
> libFoundation?
I think to have a basic implementation its mostly changing
NSMutableString to unichar and possibly fixing some -cString usages.
Shouldn't be too hard. Fixing bugs might be some work.
A full Unicode implementation is quite hard (Unicode safe sorting
etc), but usually not required.
> It just seems odd in this day and age to have a base lib that does
> *not* actually support this text encoding standard.
Yes, for SOPE/OGo we more or less planned to use gnustep-base once
its a viable basis. But this is also taking time ...
BTW: libFoundation does support Unicode encoding, that is, it can
load UCS2 and UTF8 encoded files. And in fact the primary API uses
UTF16. But the internal implementation can't (always) store unicode
chars above Latin1.
> Are there any murmurings in this direction?
Not really. We've added immutable Unicode strings a while back but
this only helps with displaying Unicode stuff (like Korean/Chinese
emails in OGo webmail).
Greets,
Helge
--
Helge Hess
http://docs.opengroupware.org/Members/helge/