开发者

Language characters showing as question mark boxes

I the following text (used for testing):

TÄSTåÄ

It's showing on the page as:

T�ST��

I have utf-8 as my content-type:

<meta http-equiv="Content-Type" content="开发者_运维问答text/html; charset=utf-8" />

I'm using font-family:

"lucida grande",tahoma,verdana,arial,sans-serif

Any idea why thse characters won't show up properly?

Thank you!


You need to be sure that the file is being saved as a UTF-8 encoded file and not as plain text.


Pls make sure you saved file in 'UTF-8' or 'utf-8 without BOM'. If you used UTF-8 only for encoding your html page, please check the DOCTYPE is valid.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜