askq1 askq1 wrote: > I want c/c++ functions/routines that will convert Unicode to > UTF8/UTF16/UCS2 encodings and vice-versa. Can some-one point > me where can I get these code routines?
Unicode's reference implementation is here, but I don't know how much up-to-date it is with some tiny changes in UTF-8: http://www.unicode.org/Public/PROGRAMS/CVTUTF/ You can also see the UTF functions provided by ICU, an open source Unicode library: http://oss.software.ibm.com/icu/ _ Marco