int (utf-8) to Glib::ustring
- From: Spazzatura.Live <kharhonte hotmail com>
- To: gtkmm-list gnome org
- Subject: int (utf-8) to Glib::ustring
- Date: Fri, 2 Dec 2011 10:02:14 +0100
Hi everyone.
I have an hex representation (in a string) of a 2 byte UTF-8 char.
When i try to use g_unichar_to_utf8(), it converts a UTF-16 value to a
gchar *, so:
1) How can i convert UTF-8 to UTF-16 value?
OR
2) How can i convert a UTF-8 value into std::string, Glib::ustring,
gchar * or char *?
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]