[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: from cp1251 to utf-8
From: Iago Rubio <iago.rubio () hispalinux ! es>
Date: 2004-03-26 19:57:02
Message-ID: 1080331022.5407.9.camel () speedy ! iagorubio ! net
[Download RAW message or body]
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 **********
--------------------------------------------------
["signature.asc" (application/pgp-signature)]
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic