将myeclipse默认编码设置为UTF-8

  出处: 【 CSDN 】:csdn.zxiaofan.com
  • 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)

  • Window->preferences->MyEclipse->Files and Editors ->CSS、HTML、JSP、JavaScript、XML等设置UTF-8

  • Window->general->Content Types-->Text-->Java Source File-->Default encoding输入框中输入UTF-8,点Update

  • Properties乱码: Window->Preferences- >General- >ContentTypes- >Text- >Java Properties File,设置下方的Default encoding,把下面的ISO-8859-1改为UTF-8,然后update

猜你喜欢

转载自blog.csdn.net/weixin_39989001/article/details/77799255
今日推荐