eclipse 环境配置 之 编码设置

1. 设置新建jsp页面默认编码为 UTF-8 

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

     eclipse 环境配置 之 编码设置

2. 设置文本文件编码为 UTF-8

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

     eclipse 环境配置 之 编码设置

3. 设置jsp文件编码为 UTF-8

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

     eclipse 环境配置 之 编码设置