Eclipse中:
Window -> preference, 左边 General -> Content Types, 然后在右边上面的框中打开Text, 选中Java Source File (你看到下面的框中有个*.java 就对了), 然后在下面的“Default edcodng”文本框中输入“GBK”, 点“Update”,然后重启eclipse。
Eclipse中:
Window -> preference, 左边 General -> Content Types, 然后在右边上面的框中打开Text, 选中Java Source File (你看到下面的框中有个*.java 就对了), 然后在下面的“Default edcodng”文本框中输入“GBK”, 点“Update”,然后重启eclipse。