简体   繁体   English

我需要帮助在html页面中显示日语字符

[英]I need help to display japanese character in a html page

我需要帮助在html页面中显示我在html页面的head标签中使用的html页面中的日文字符,但字符显示不正确。

<META http-equiv="Content-Type" contentType="text/html; charset=EUC-JP" >

The probable cause is that your page is not actually EUC-JP encoded (or the browser used does not support that encoding, but that would be rare). 可能的原因是您的页面实际上不是EUC-JP编码的(或者使用的浏览器不支持该编码,但这种情况很少见)。 Alternatively, the HTTP headers (which could be inferred from a URL, but not from a code snippet) might declare another encoding. 或者,HTTP标头(可以从URL推断,但不能从代码片段推断)可能会声明另一种编码。 It is also possible that the character used is not available in the fonts used, though this is not common these days. 所使用的字体也可能没有使用所使用的字体,尽管现在这种情况并不常见。

Further information is needed to distinguish between these possibilities. 需要进一步的信息来区分这些可能性。 Note that “not showing properly” could mean just about anything. 请注意,“没有正确显示”可能意味着什么。

检查您的浏览器/操作系统是否支持UTF-8: http//www.joelonsoftware.com/articles/Unicode.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM