develooper Front page | perl.perl5.porters | Postings from December 2014

Re: [Encode] 2.67 released!

Thread Previous | Thread Next
H.Merijn Brand
December 8, 2014 12:51
Re: [Encode] 2.67 released!
Message ID:
On Fri, 5 Dec 2014 05:50:49 +0900, Dan Kogai <> wrote:

> Just $Encode::VERSION++’ed.  It fixes a test that was too rigorous
> for certain case.  The code is identical to the previous version.

Why is 'ebcdic' not a default alias to cp1047 (or whatever the most
used version of the output of «Encode->encodings ("EBCDIC")». We in
the ASCII world have no idea what to use anyway.

Choosing cp1047 and issueing a warning as well would me fine with me
too. I had to re-read the docs to get

$ perl -00 -MEncode=from_to -wE'print from_to (<>,"ebcdic","utf-8")'

reworded into

$ perl -00 -MEncode=from_to -wE'print from_to (<>,"cp1047","utf-8")'

(it still displayed garbage, but that is a different issue)

H.Merijn Brand   Perl Monger
using perl5.00307 .. 5.21   porting perl5 on HP-UX, AIX, and openSUSE

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About