eclipse设置统一编码

1.Window-->Preferences-->General-->Workspace->Text file encoding->Other->UTF-8.

2.Window-->Preferences-->General->Content Type->Text->Default encoding->UTF-8.

3.Window-->Preferences-->Web-->Jsp file-->encoding-->UTF-8.

经过配置后,所有的java,jsp,txt,html,xml等编码都是UTF-8。

 

posted on 2016-03-08 11:53  LZHL  阅读(363)  评论(0编辑  收藏  举报

导航