Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » How to convert a string which contain English and Chinese to a unicode string?

This thread is locked; no one can reply to it. rss feed Print
How to convert a string which contain English and Chinese to a unicode string?
Ma AnSheng
Member #7,211
May 2006

How can I to convert a string which contain English character and Chinese character to a unicode string ? Thank you very much.

Kitty Cat
Member #2,815
October 2002
avatar

uconvert
It depends on what encoding the input string is though, and which Unicode encoding you need it as (UTF-8 or UTF-16).

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

Ma AnSheng
Member #7,211
May 2006

I want to display a file name in dialog .The file name contain Chinese characters.I want to convert the file name to unicode-16,so that It can correct display filename.

Go to: