Unicode != UTF-8
Posted Dec 18, 2011 19:57 UTC (Sun) by tetromino
In reply to: Unicode != UTF-8
Parent article: Cracks in the Foundation (PHP Advent)
> You mean this one: ≠ ? Works fine for me. What I'm doing wrong?
In "plain text" comment format, Unicode input and character entities both fail for me (LWN displays them as escaped character entities).
In "HTML" comment format, Unicode input (e.g. Ctrl+Alt+u2260 in Firefox → ≠) as well as named (≠ → ≠) and decimal (≠ → ≠) character entities work correctly.
However, the presence of a hex character entity (e.g. ≠) in a comment breaks all Unicode parsing in that comment, leaving all Unicode characters as escaped character entities, like in plain text format. This seems to be a bug in the LWN comment engine.
to post comments)