RE: Resolving charset names with Encode

2004-10-25 Thread Nick Ing-Simmons
Martin 'Kingpin' Thurn <[EMAIL PROTECTED]> writes: > It seems to me that the main problem is that Encode does not use IANA >registered names. It is supposed to have IANA names as aliases. >And ebcdic-cp-us didn't work because of a bug in >I18N::Charset (sorry about that). > The proper solutio

RE: Resolving charset names with Encode

2004-10-24 Thread Martin 'Kingpin' Thurn
It seems to me that the main problem is that Encode does not use IANA registered names. And ebcdic-cp-us didn't work because of a bug in I18N::Charset (sorry about that). The proper solution IMO is to use the &add_enco_alias() function of I18N::Charset. In the meantime, I have studied the Enc

Re: Resolving charset names with Encode

2004-10-24 Thread Nick Ing-Simmons
Bjoern Hoehrmann <[EMAIL PROTECTED]> writes: >Hi, > > What is currently the best way to resolve charset names to use them >with Encode.pm? I would have expected that e.g. > > Encode::decode('ebcdic-cp-us', '') > >would just work but it does not appear to know that alias. Then I've >tried to use I