On Fri, 2004-03-26 at 14:30, Alphex K. wrote:
Hi guys, I'm have a big trouble with converting from cp1251 to utf-8 I'm get some data from MySQL in cp-1251 and I need convert it to utf-8 so, how I can do it?
Check here: http://developer.gnome.org/doc/API/2.0/glib/glib-Character-Set-Conversion.html This function can achieve the goal: gchar* g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error); -- Iago Rubio http://www.iagorubio.com GPGkey pgp.rediris.es id 0x909BD4DD fingerprint = D18A B950 5F03 BB9A DD89 AA75 FEDF 1978 909B D4DD ********** iago.rubio(AT)hispalinux.es ********** --------------------------------------------------
Attachment:
signature.asc
Description: This is a digitally signed message part