点中项目→右键→选中properties→选中Resource 如果说想整个工程都是UTF-8的字符集 Window→preference→General→workspace 转载于:https://www.cnblogs.com/Mokaffe/p/4439169.html