没有办法,呵呵,你应该使用UTF-8以实现国际化
解决方案 »
- spring配置启动报错,求各位大神指点
- servlet filter 404错误
- 很多论坛或者网站都用图片形式的验证码,请问各位高手,它的实现原理是什么啊?
- 一个上午,我无法解决这个错误!
- 运行一jsp页面:提示package news does not exist
- 求助Tomcat配置问题
- 怎样刷新表格?
- 怎么统计两个时间间间隔多少秒?例如:2004-1-1 12:00:00 到 2004-1-10 10:20:00
- 多日未能解决的有关Cookie的问题!!要命呀!求救呀!!!
- javaweb QQ邮箱验证码校验
- 如何判断字符是简体中文还是繁体中文及英文.
- 有这样现成的例子吗?系统跟踪用户浏览的栏目,从而得知用户的需求,下次把相应的栏目文章发给用户
Q: How can I recognize from the 32 bit value of a Unicode character if this is a Chinese, Korean or Japanese character? A: It's basically impossible and largely meaningless. It's the equivalent of asking if "a" is an English letter or a French one. There are *some* characters where one can guess based on the source information in Unihan.txt that it's traditional Chinese, simplified Chinese, Japanese, Korean, or Vietnamese, but there are too many exceptions to make this really reliable. (For example, one particularly nasty obscenity in Cantonese would probably have never been encoded for Cantonese, but has made it in for the sake of Korean, where one hopes it isn't nearly as obscene.)The phonetic data in Unihan.txt should not be used for this purpose. A blank in the phonetic data means that nobody's supplied a reading, not that a reading doesn't exist. Because updating the Unihan database is an ongoing process, these fields will be increasingly filled out as time goes on, but they should never be taken as absolutely complete. In particular, there are obscure characters where it is known that there *is* a reading, but since the character does not occur in standard dictionaries, we are unable to supply it (e.g., U+40DF in Cantonese).A better solution is to look at the text as a whole: if there's a fair amount of kana, it's probably Japanese, and if there's a fair amount of hangul, it's probably Korean.The only proper mechanism is, as for determining whether "chat" is spelled correctly in English or French, is to use a higher-level protocol
java支持多国语言
都用unicode就可以了啊
思想是这样
记得在客户端可以进行简繁体的互转
可以上网找一下,用JavaScript做的
里面有很多简体和繁体的字
在客户端你做一下对比就可以知道是简体还是繁体了