perl-unicode

Re: utf8, japanese, web-pages: beginning to see the light...

2004-06-17 06:30:14
Marco Baroni <baroni(_at_)einstein(_dot_)sslmit(_dot_)unibo(_dot_)it> writes:

Thanks for the quick reply.

A workaround can be to pass it encoded UTF8.

Excuse me my persistent confusion, but what does this mean, in concrete?

The stuff that encode_utf8() returns (see 'perldoc Encode') or you get
from a UTF-8 file read in binary mode.  These will be byte strings
(octets), i.e. all chars have ord() less < 256 and will *not* have the
internal UTF8 flag set.

Regards,
Gisle

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