在Eclipse中更改编码 [英] Change encoding in Eclipse
本文介绍了在Eclipse中更改编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以使用Eclipse将其重新转换成UTF吗?
解决方案
您可以在首选项部分中设置eclipse使用的编码
窗口 - >首选项 - >常规 - >工作区 - >文本文件编码
只有当您遇到麻烦的唯一项目,您也可以为单个项目覆盖它。
I was working on my project in Windows using Eclipse (and I didn't check that my encoding was CP-1251). Now am going to work with my project in Linux with Eclipse too, but with UTF8 encoding, so all my comments are now non readable.
Can I just reconvert them into UTF using Eclipse?
解决方案
You can set up the encoding used by eclipse in the Preferences section
Window -> Preferences -> General -> Workspace -> Text file encoding
You can also override it for a single project only if that is the only project you are having trouble with.
这篇关于在Eclipse中更改编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文