Well, I know of one method and that is XML::Parser.
Version 2.29 (correct me, if I'm wrong) will read
unicode properly into perl scalars.
So you might have to put a
<doc>
...your japanese text
</doc>
envelope around it?
-----Original Message-----
From: Neil Gower [mailto:neilg(_at_)inago(_dot_)com]
Sent: Tuesday, May 30, 2000 5:35 PM
To: perl-unicode(_at_)perl(_dot_)org
Subject: Japanese, Unicode, Perl... oh my!
With the addition of unicode support in Perl 5.6.0, I was hoping
to be able to
use some existing perl scripts (with minor modifications) on
Japanese text.
However, man perl-unicode explains that Perl can't read utf8 encoded text
files. So the question is,
How does one get utf8 text into Perl 5.6 strings?
--
Neil Gower - Developer
iNAGO Incorporated
Toronto, Ontario.