Available encodings for iconv arguments

How can I get available encodings for iconv arguments?
I have to read iconv_open(3) on the target platform?

Thanks,

– Gotoken

Hi,

···

— GOTO Kentaro gotoken@notwork.org wrote:

How can I get available encodings for iconv
arguments?
I have to read iconv_open(3) on the target platform?

Thanks,

– Gotoken

iconv --list
list all known coded character sets

Park Heesob


Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!

Hi,

···

At Mon, 23 Sep 2002 16:58:32 +0900, GOTO Kentaro wrote:

How can I get available encodings for iconv arguments?
I have to read iconv_open(3) on the target platform?

AFAIK, no portable way.


Nobu Nakada

Thanks, but I got

% iconv --list
Usage: iconv [-f fromcode] [-t tocode] [file …]
%

Hmm, that seems platform dependent.

– Gotoken

···

At Mon, 23 Sep 2002 18:44:40 +0900, Park Hee-Sob wrote:

iconv --list
list all known coded character sets