gpt4 book ai didi

Eclipse 编码 MacRoman -> UTF8

转载 作者:行者123 更新时间:2023-12-01 23:14:59 37 4
gpt4 key购买 nike

我最近创建了一个项目,组织它并且做得很好...我使用运行 Eclipse 的 Mac。不知怎的,它把所有的东西都存储在MacRoman中。该项目必须是 UTF8。有没有简单的方法来处理转换?

最佳答案

你在这个blog post中有一些详细的解释通过 David HOLT对于 WOLips/WOProject .

检查您的默认首选项:

Encoding in Eclipse preferences

In Eclipse, go to Preferences>General>Workspace and select UTF-8 as the Text 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 to Resource>Text File Encoding.
You should see "Inherited from container (UTF-8)" if you've made the change above, otherwise it will be (MacRoman).
Select Other - UTF-8 and Apply to make the warning go away.

关于Eclipse 编码 MacRoman -> UTF8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2707986/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com