版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq193423571/article/details/76140544
Eclipse的编码设置成UTF-8格式
最近仔细研究了一下Eclipse的一些乱码问题,因为习惯使用UTF-8格式的编码,所以给各位奉上解决的犯法(一些是引用别人的方法)
1、Window->Preferences->General ->Content Type->Text->JSP 最下面设置为UTF-8
2、Window->Preferences->General->Workspace 面板Text file encoding 选择UTF-8
3、Window->Preferences->Web->JSP Files 面板选择 ISO 10646/Unicode(UTF-8)
4、项目名->右键->properties->Resource->Other设置成UTF-8