首页 > 系统服务 > 详细

eclipse 设置默认编码为Utf-8

时间:2017-07-20 11:15:38      阅读:280      评论:0      收藏:0      [点我收藏+]

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)


(另外) 

    windows->Preferences...打开"首选项"对话框,左侧导航树,导航到general->Content Types,右侧Context Types树,点开Text中每一颗子项,并在中输入"UTF-8",点update!

    其他java应用开发相关的文件如:properties、XML等已经由Eclipse缺省指定,分别为ISO8859-1,UTF-8,如开发中确需改变编码


本文出自 “Exist” 博客,请务必保留此出处http://exist.blog.51cto.com/10305882/1949168

eclipse 设置默认编码为Utf-8

原文:http://exist.blog.51cto.com/10305882/1949168

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!