Subject: | Best if Text::Iconv had its own lister function |
We read:
Settings of fromcode and tocode and their permitted combinations are implementation-dependent. Valid
values are specified in the system documentation; the iconv(1) utility should also provide a -l option
that lists all supported codesets.
Alas, please add that iconv -l might not be the right command needed to
reveal what is available to Text::Iconv. As e.g.,
my $converter = Text::Iconv->new("UTF8", "GB2313"); exit;
gives
Unsupported conversion from UTF8 to GB2313: Invalid argument at ./i line 14.
despite GB2313 being listed by iconv -l, at least on Debian sid.
In fact it would be best if Text::Iconv had its own lister function.