In my experience, HTML::Entities works just fine under Perl 5.8 with Unicode strings. The strings must be marked as Unicode, not just contain UTF-8 bytes. If the source isn't doing the conversion, you can do it manually with Encode.
print encode_entitites("a\x9B\x{263A}");
In reply to Re: HTML::Entities and multi-byte characters
by iburrell
in thread HTML::Entities and multi-byte characters
by bpphillips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |