html tag attribute displayed in unicode

Posted by user297975 on Stack Overflow See other posts from Stack Overflow or by user297975
Published on 2010-03-20T11:56:15Z Indexed on 2010/03/20 12:01 UTC
Read the original article Hit count: 322

Filed under:
|
|

I have the following code, from which you can see that, I use the same way to create the text in utf-8. The text shown between html tags are shown corrently. But the text shown as html tag attribute are shown in unicode. I'm positive that on the server side(PHP), both texts are treated in the same way and are encoded in utf-8. Why the text as html tag attribute shown in unicode?

??????????????????????

??

© Stack Overflow or respective owner

Related posts about php

Related posts about unicode