I agree. Except for not misusing is_utf8, my solution is quite similar to yours.
I didn't say your solution was wrong, I said your use of is_utf8 was wrong.
In reply to Re^6: HTML::Entities and Unicode quotes
by ikegami
in thread HTML::Entities and Unicode quotes
by tod222
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |