如何将Eclipse的文件编码设定为UTF-8阿??
我的Eclipse的中文编码默认是GBK的,所以有的程序看起来会是乱码,
我想问一下怎么设定文件编码的问题。
------解决方案--------------------
工程/properties/info
或 windows/preferences/General/Content Types
------解决方案--------------------
点工程名称,右键。
窗口-> 首选项...也行。
这样改原来如果有中文都回乱码,没有办法。
------解决方案--------------------
点工程名称,右键。
property-> info-> defalut encoding for text file
------解决方案--------------------
或者在编辑器中按 Alt + Enter 也可以。