From: F J Franklin <F.J.Franklin@sh...> - 2002-05-07 09:41:42
For those of you who don't already know, there is a new module in CVS
wvWare called libeXtra, part of which is C++ string classes for
manipulating UTF-8 and UCS-4. UTF8-UCS4-String-0.1.0, available for
download from SourceForge (http://sourceforge.net/projects/wvware), is the
first release of these classes.
The code is made available under a BSD license.
UTF8String & UCS4String
This pair of classes, and they are very much a pair, just as UCS-4 and
UTF-8 themselves are very much a pair, provide a mechanism for manipulating
UNICODE strings stored in either format. UTF8String is principally a
conversion class, whereas UCS4String is more of an editing class. Both
insist on validated content, so direct writing to arrays is not possible;
however, both provide handy and powerful iterators.
The source is fairly well documented, and utf8test.cpp provides examples
of how to use the classes.
If you use these classes, please report any bugs you find.
6th May, 2002
Francis James Franklin <fjf@...>
"No, she really likes me. She told me I look like Britney Spears, and why
would you say that to somebody you don't like?"
--- Elle Woods
Get latest updates about Open Source Projects, Conferences and News.