This is a problem you can face while developing applications in Eclipse here is a solution for this problem.And also a bug reported for this problem here
Windows Menu –> Preferences –> General (expand it) –> Workspace (click on it).
Look for a box “Text File Encoding”. Default will be “Cp1252″.
Change radio to select other and select “UTF-8″ from combo box.
Windows Menu –> Preferences –> General (expand it) –> Workspace (click on it).
Look for a box “Text File Encoding”. Default will be “Cp1252″.
Change radio to select other and select “UTF-8″ from combo box.
本文介绍了解决Eclipse开发环境中文件编码设置为默认 Cp1252 导致的问题,并提供了详细的步骤来更改设置为 UTF-8,以确保跨平台的一致性和避免乱码。
6358

被折叠的 条评论
为什么被折叠?



