Robert Allerstorfer <[EMAIL PROTECTED]> 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
On Thu, Sep 19, 2002 at 12:35:46AM +0200, Robert Allerstorfer wrote:
> use Encode::JP;
> my $string = "¼¾";
> Encode::from_to($string, "shiftjis", "utf8");
> my $ord = join("\n", unpack('U*', $string));
> print "$string\n$ord";
>
> But, this gives a 3-chara
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.
best,
rob
--
On Thu, 19 S
Robert Allerstorfer <[EMAIL PROTECTED]> writes:
>Hello,
>
>I want to convert source code written in the Japanese shift_jis
>character set, into their Unicode numbers. For instance, "ŒŸ" should
>result in "U+691C" (which is 26908 in decimal). I tried using the
>Encode module of Perl 5.8 with someth
Hello,
I want to convert source code written in the Japanese shift_jis
character set, into their Unicode numbers. For instance, "¼¾" should
result in "U+691C" (which is 26908 in decimal). I tried using the
Encode module of Perl 5.8 with something like this:
use Encode::JP;
my $st