回答
为了使用UTF-8字符声明这个元标记编码的(X)HTML页面内(在页面的头部分):
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
如果单独不起作用你可能能够找到更多有用的信息here。
That did it :)谢谢 – Roskvist 2010-11-25 12:19:14
我有类似的问题,其中一些Android手机在我正在开发的网站中无法正确显示瑞典字符。即使我使用上面的meta标签的HTML5版本,它也不起作用。当我在htaccess文件中添加一个默认字符集时,它工作正常。 – 2010-11-30 15:19:20
您需要确保HTML文件保存为UTF-8,并且HTTP响应中的Content-Type
标头包含正确的字符集。您可以通过其他Firebug来验证标题。
当响应Content-Type
不存在头部,这通常是不当 HTML文件都通过HTTP的情况下的<meta>
标记为Content-Type
只会工作。然而,它的存在对于离线观看和自我记录的目的是很好的。
- 1. presentModalViewController does not not naviagionbar
- 2. frostDays does not exist
- 3. withUnsafeMutablePointer does not compile
- 4. MySqlDataReader does not read
- 5. Javascript does not update
- 6. httpwebresponse does not work
- 7. response.redirect does not work
- 8. requiredFieldError does not work
- 9. display:none does not work
- 10. Html.Select does not exist
- 11. document.body.style.backgroundImage does not work
- 12. Var_dump does not work
- 13. JLabel does not appear
- 14. Math.random does not work
- 15. Javascript does not not div visibility
- 16. @media screen does not work
- 17. Try Catch does not catch
- 18. Javascript:Promise().then does not work
- 19. pjax does not工作
- 20. node.js child_process does not working
- 21. Threejs text does not render
- 22. android asynctask does not work
- 23. textarea does not return value
- 24. JsFiddle code does not working
- 25. getElementByID works,getElementsByClassName does not
- 26. package net.proteanit.sql does not exist
- 27. Float left does not work
- 28. Javascript String.Replace does not work?
- 29. PFQuery whereKey:containedIn:query does not works
- 30. JMenu-JMenuItem does not appear
你应该接受你之前提出的问题的答案,以便任何具有相同问题的人都知道正确答案是什么。如果他们知道你欣赏他们拍摄的时间,他们更有可能回答。 – Gareth 2010-11-25 10:37:53