开发者

character encoding issue on website

I have some turkish characters at my website but I am not able to see characters very well. There is a problem with non-english characters. I encoded it with UTF-8 and added some meta tags to fix this issue but the problem still seems same. Could you please look at the website (you can look at the code by using firebug) and tell me where I am doing wrong? I will be appreciated if 开发者_高级运维you can guide me about the error.


Update: the website in question is: http://apps.netbiscuits.com/516904/New_Custom_Application_1/


Your static content (“Kişisel”, the keywords meta) is correctly encoded as UTF-8.

The other content on the page, taken from stories on the target site, has been mis-decoded from ISO-8859-1 (Western) instead of ISO-8859-9 (Turkish), before being encoded to UTF-8.

How are you extracting that content to put on the page? Is it scraped, or from a database, or something? It's possible you've missed an encoding argument somewhere, causing Java to resort to using the system ‘default’ encoding which may be Western instead of Turkish.


fetch.scritch.org is a good tool for encoding issues - it has an encoding tab that reports the encoding from the header, from possible http-equiv and it attempts to guess the encoding.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜