I am working on a MVC web app. I have a question about how this app displays Chinese characters even all page’s encoding are set to “ISO-8859-1”? I thought ISO-8859-1 does not support Chinese characters.
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ISO-8859-1 does indeed not support it. The webapp is either using HTML entities (e.g.
中is presented as中(decimal) or中(hexadecimal)), or is actually setting the UTF-8 in the content type response header.To check if it’s using HTML entities or not, view the generated HTML source of the page in browser by rightclick and View Source. To check if the content type response header indicates UTF-8 encoding, press F12 in Chrome/Firebug/IE9 and check Net(work) section of the web developer toolset.