Skip Menu |

This queue is for tickets about the Text-Iconv CPAN distribution.

Report information
The Basics
Id: 131630
Status: resolved
Priority: 0/
Queue: Text-Iconv

People
Owner: Nobody in particular
Requestors: jidanni [...] jidanni.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.7
Fixed in: 1.7



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.
Oops. If I correctly used GB2312 not typo GB2313, then it works.