回答
爲了使用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. KeyAdapter does not does
- 2. presentModalViewController does not not naviagionbar
- 3. requiredFieldError does not work
- 4. OnClickListener does not「listen」
- 5. Microsoft.Http.dll does not exist
- 6. display:none does not work
- 7. Laravel'hello'view does not load
- 8. Score ++ does not work
- 9. Intent.EXTRA_LOCAL_ONLY does not work
- 10. InAppPurchase does not work
- 11. Var_dump does not work
- 12. document.body.style.backgroundImage does not work
- 13. frostDays does not exist
- 14. Javascript does not update
- 15. Keyup does not respond
- 16. WIthMockUser does not work
- 17. npm run does not
- 18. RequestMapping does not work
- 19. httpwebresponse does not work
- 20. Django:image does not display
- 21. Javascript does not run
- 22. Iframe does not work
- 23. SimpleAudioEngine does not play
- 24. MySqlDataReader does not read
- 25. response.redirect does not work
- 26. setNeedsDisplay:YES does not draw
- 27. Meteor.subscribe does not work
- 28. Html.Select does not exist
- 29. dismissViewControllerAnimated does not dismiss
- 30. $ _POST does not working
你應該接受你之前提出的問題的答案,以便任何具有相同問題的人都知道正確答案是什麼。如果他們知道你欣賞他們拍攝的時間,他們更有可能回答。 – Gareth 2010-11-25 10:37:53