字符编码问题

<%@ page contentType="text/html;charset=gb2312" %>
<%@ page contentType="text/html;charset=GBK" %>


----------------------------------------------------------------------
Some characters cannot be mapped using "GBK" character encoding. 
Either change the encoding or remove the characters which are not supported 
by the "GBK" character encoding

Eclipse --> window --> Preferences --> General --> Content Types --> Text --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成UTF-8,然后update.
注意:要add上 *.java  *.jsp


[本日志由 admin 于 2008-04-25 02:04 PM 编辑]
文章来自: 本站原创
引用通告地址: http://www.is21.cn/trackback.asp?tbID=33
Tags:
评论: 0 | 引用: 0 | 查看次数: 2404
发表评论
你没有权限发表留言!