Clean and simple unicode conversion C code

From: Theodore H. Smith (delete@softhome.net)
Date: Wed May 29 2002 - 08:03:33 EDT


Does anyone have some clean and simple UniCode conversion code?

I used the one on the FTP section of the UniCode website, however,
I found about 5 bugs in it, which I reported, and now a user of mine
is telling me that the results it gives is invalid.

So does anyone have some clean and simple UniCode conversion code?
Please don't refer me to something like IBM's UniCode lib or anything
like that. Its way too bloated. All I need is 6 conversion routines.

8 -> 16
8 -> 32
16 -> 8
16 -> 32
32 -> 8
32 -> 16

Failing that, I may have to pore over the UniCode character definitions,
to work out exactly how the multi char encoding is done.



This archive was generated by hypermail 2.1.2 : Wed May 29 2002 - 12:58:49 EDT