Hello:
I am new in UTF-8 issue and I would like to know how to read/write UTF-8 in
c/c++ program. I am using Red Hat 7.3 and I am writing c++ program to
convert wide characters (Chinese characters) to UTF-8 and output to a file.
I have used the setlocale(LC_CTYPE, "zh_TW.utf-8") functioin, and then use
the wcstombs() function for converting unicode to UTF-8. I would like to
know whether I am right in the conversion as when I write the UTF-8
characters to a file, it is not readable!!!
Thanks a lot!
Carmen
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/
- RE: Write UTF-8 file using standard c++ Carmen Wai
- RE: Write UTF-8 file using standard c++ Maiorana, Jason