java.nio.charset.MalformedInputException: Input length = 2 解决办法

来源:互联网 发布:怎么查看淘宝会员等级 编辑:程序博客网 时间:2024/05/22 15:05

在eclipse中设置utf-8


需要设置的几处地方为:

 Window->Preferences->General ->Content Type->Text->JSP 最下面设置为UTF-8

 Window->Preferences->General->Workspace   面板Text file encoding 选择UTF-8

 Window->Preferences->Web->JSP Files 面板选择 ISO 10646/Unicode(UTF-8)

阅读全文
0 0
原创粉丝点击