我最近创建了一个项目,组织它并且做得很好...我使用运行 Eclipse 的 Mac。不知怎的,它把所有的东西都存储在MacRoman中。该项目必须是 UTF8。 有没有简单的方法来处理转换?
最佳答案
你在这个blog post中有一些详细的解释通过 David HOLT对于 WOLips/WOProject .
检查您的默认首选项:
In Eclipse, go to
Preferences>General>Workspace
and selectUTF-8
as theText File Encoding
.
This should set the encoding for all the resources in your workspace. Any components you create from now on using the default encoding should all match.Change the encoding for a resource (project, folder or file)
Right (or Control) click on the resource in the WO Package Explorer and select the Properties option at the bottom of the contextual menu.
Go toResource>Text File Encoding
.
You should see "Inherited from container (UTF-8)
" if you've made the change above, otherwise it will be (MacRoman).
SelectOther - UTF-8
and Apply to make the warning go away.
关于Eclipse 编码 MacRoman -> UTF8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2707986/