Hello everyone,
I am writing a pure C/C++ program to convert from UCS-2 to UTF-8 character string. I can not find enough information from Google -- the mapping tables (formula) between UCS-2 and UTF-8.
I want to develop the program through pure bit operations (&, | and shifting), and I do not want to invoking any OS specific APIs.
Any reference samples or the mapping tables (formula) between UCS-2 and UTF-8?
thanks in advance,
George