Prolem with displaying Asian language (internationalization)
- From: "hamb ka" <hamb_ msn com>
- To: gtk-app-devel-list gnome org
- Subject: Prolem with displaying Asian language (internationalization)
- Date: Wed, 02 Apr 2003 17:48:17 +0900
Hi,
I have tried to use g_locale_to_utf8 to deal with a string with Chinese
character, but always got "Invalid byte sequence in conversion input". A
testing program is listed below:
GError *error;
char *m;
error = NULL;
m = g_locale_from_utf8 (test, strlen(test), NULL, NULL, &error);
where "test" is a string copied from the saved chinese html webpage.
direct printing of "test" to the console is a string of question marks.
what I want is to display the "test" in a CList widget as it is in the html
sourcecode.
appreciate any reply...
regards
_________________________________________________________________
Send a fun phone greeting to your friend!
http://www.msn.com.sg/mobile/fungreetings/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]