perl-unicode

Re: Re[2]: converting Japanese chars into their Unicode values using 5.8's Encode

2002-09-20 00:30:05
Robert Allerstorfer <roal(_at_)anet(_dot_)at> writes:
Hi Nick,

thank you so much for solving that problem! I didn't know that
"Unicode" is a valid canonical name of an available encoding, since

use Encode;
my @all_encodings = Encode->encodings(":all");
print join("\n", @all_encodings);

does not include it on my machine.

To be pedantic it is not an Encoding it is a non-encoding ;-)

I would recommend using encode and decode rather than from_to 
in such cases.

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/