一、设置eclipse
默认工作空间编码:Window --> Properties --> General --> Workspace --> Text file encoding

二、设置项目 工程编码:鼠标右击项目工程 --> Properties --> Resource --> Text file encoding

三、设置 某个文件编码:鼠标右击某文件 --> Properties --> Resource --> Text file encoding

四、设置 某类型文件编码: Window --> Properties --> General -->Content Types

五、设置 创建html文件编码: Window --> Properties --> Web -->HTML Files

六、设置创建 jsp文件编码: Window --> Properties --> Web -->JSP Files

二、设置项目 工程编码:鼠标右击项目工程 --> Properties --> Resource --> Text file encoding
三、设置 某个文件编码:鼠标右击某文件 --> Properties --> Resource --> Text file encoding
四、设置 某类型文件编码: Window --> Properties --> General -->Content Types
五、设置 创建html文件编码: Window --> Properties --> Web -->HTML Files
六、设置创建 jsp文件编码: Window --> Properties --> Web -->JSP Files