Unicode symbols coming wrong

Posted by robert on Stack Overflow See other posts from Stack Overflow or by robert
Published on 2010-06-09T13:09:37Z Indexed on 2010/06/09 13:22 UTC
Read the original article Hit count: 157

Filed under:

Obviously, there must be something stupid i'm doing. The unicode chart for subscripts and superscripts says #00B2 is superscript 2, but i get scrambled output. 0078 is x, but I get N, and 0120 is x. Am i reading wrong manual?


EDIT

$x = 'N';

print html_entity_decode($x, ENT_NOQUOTES, 'UTF-8') . "\n";

© Stack Overflow or respective owner

Related posts about unicode