From: "Alphex K." <alphex@crew.org.ru>
To: Glynn Clements <glynn.clements@virgin.net>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: converting from cp1251 to utf-8
Date: Fri, 26 Mar 2004 20:15:27 +0300 [thread overview]
Message-ID: <20040326201527.3c90c0d9.alphex@crew.org.ru> (raw)
In-Reply-To: <16484.20001.402336.195699@cerise.nosuchdomain.co.uk>
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
prev parent reply other threads:[~2004-03-26 17:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040326201527.3c90c0d9.alphex@crew.org.ru \
--to=alphex@crew.org.ru \
--cc=glynn.clements@virgin.net \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).