in reply to Re^4: HTML::Entities and Unicode quotes
in thread HTML::Entities and Unicode quotes

Excepting the demonstration of what perl believed the strings to be, my answer’s code content was essentially identical to yours.

The Re^15-deep feuds about this sort of thing in the past are suddenly less mysterious.

  • Comment on Re^5: HTML::Entities and Unicode quotes

Replies are listed 'Best First'.
Re^6: HTML::Entities and Unicode quotes
by ikegami (Patriarch) on Aug 20, 2011 at 23:01 UTC

    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.

    • It doesn't do what you purport it does.
    • It shouldn't be used at all.
    • Especially not when introducing someone to encodings.