Fork me on GitHub

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)
0%