perl-unicode

Re: Japanese, Unicode, Perl... oh my!

2000-05-30 18:48:32


How does one get utf8 text into Perl 5.6 strings?

I have a dirty hack called UTF8::Hack which I'll
CPAN tonight. This lets you say utf8on($a)
to tell Perl that a string should be treated as
UTF8, and utf8off($a) to tell Perl thatit should be
treated as bytes. Yes, it's really horrible, and it's
only a stop-gap solution. I'm working on something
more general - putting Unicode::Map8 into core may
fix this.

Simon

----------------------------------------------------------------
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material.  Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited.   If you received this in error, please
contact the sender and delete the material from any computer.


<Prev in Thread] Current Thread [Next in Thread>