"Carl W. Brown" wrote:
> If you are looking for a cross-platform tool for C/C++ then the best is ICU.

Thanks Ken & Carl!

> With the latest release (ICU 1.8) they have totally redone the logic for
> strict Unicode conformance.

Yes, and 1.8.1 makes it more conformant, faster, and cleans up the language-specific 
rules.

> Currently I am developing an easy to implement
> interface (xIUA) that is also free Open Source code.

I would like to point out that ICU itself has a fully functional and useful 
"interface" (API) for all of its services (conversion, collation, normalization, 
formatting, etc.).

In particular, for as long as one works with UTF-16 strings, the ucol_strcoll() 
function is quite easy to use.

It may help in some applications to use whatever wrapper one likes, but it is not 
necessary to use a wrapper.

Also, if a wrapper library performs hidden string conversions, then a user needs to 
understand the impact on performance and memory use.

ICU will add some helper functions to allow users to explicitly convert in-process 
strings between UTFs. This is simple (even without such helper functions) and fast - 
but of course not as fast as staying with a single encoding.


Best regards,
markus

Reply via email to