Re: code page conversion
- From: John Cupitt <jcupitt gmail com>
- To: "Boncek, John" <jmb hunter com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: code page conversion
- Date: Wed, 10 Nov 2004 10:53:47 +0000
g_convert() is a portable wrapper over the iconv library. There's a
command-line version too, which includes a flag to dump known
charsets. Try:
iconv --list
If the ones you need aren't there, you could try 'recode', which can
do even more encodings.
http://recode.progiciels-bpi.ca/
On Tue, 9 Nov 2004 08:36:38 -0600, Boncek, John <jmb hunter com> wrote:
I have a large collection of strings encoded in various MS-Windows code
pages. I need to convert these to UTF-8 for display in a Linux port of
an existing application. What is the best way to do this? Apparently
the g_convert function can do it, but you have to specify the code page
(character set) for both input and output as character strings and I
can't find out anywhere how to specify those character strings. Thanks
for your attention.
John Boncek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]