* converting from cp1251 to utf-8
@ 2004-03-26 13:35 Alphex K.
2004-03-26 15:37 ` Glynn Clements
0 siblings, 1 reply; 3+ messages in thread
From: Alphex K. @ 2004-03-26 13:35 UTC (permalink / raw)
To: linux-c-programming
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?
thanx
---===---
Alphex Kaanoken
Senior developer of Crew IT research labs
web: http://crew.org.ru
mailto:Alphex@Crew.Org.RU
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: converting from cp1251 to utf-8
2004-03-26 13:35 converting from cp1251 to utf-8 Alphex K.
@ 2004-03-26 15:37 ` Glynn Clements
2004-03-26 17:15 ` Alphex K.
0 siblings, 1 reply; 3+ messages in thread
From: Glynn Clements @ 2004-03-26 15:37 UTC (permalink / raw)
To: Alphex K.; +Cc: linux-c-programming
Alphex K. wrote:
> 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?
Use iconv() etc; see the "Generic Charset Conversion" node in the libc
Info file for details.
--
Glynn Clements <glynn.clements@virgin.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: converting from cp1251 to utf-8
2004-03-26 15:37 ` Glynn Clements
@ 2004-03-26 17:15 ` Alphex K.
0 siblings, 0 replies; 3+ messages in thread
From: Alphex K. @ 2004-03-26 17:15 UTC (permalink / raw)
To: Glynn Clements; +Cc: linux-c-programming
On Fri, 26 Mar 2004 15:37:05 +0000
Glynn Clements <glynn.clements@virgin.net> wrote:
>
> Alphex K. wrote:
>
> > 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?
>
> Use iconv() etc; see the "Generic Charset Conversion" node in the libc
> Info file for details.
>
> --
> Glynn Clements <glynn.clements@virgin.net>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
thanx, but I found some gtk functions like g_locale_to_utf8() and g_convert
it work.
---===---
Alphex Kaanoken
Senior developer of Crew IT research labs
web: http://crew.org.ru
mailto:Alphex@Crew.Org.RU
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-26 17:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-26 13:35 converting from cp1251 to utf-8 Alphex K.
2004-03-26 15:37 ` Glynn Clements
2004-03-26 17:15 ` Alphex K.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).