Re: code page conversion



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]