windows->Preferences>general->Workspace,右 侧Text file encoding,选择Other,改变为UTF-8。

本文介绍如何在Eclipse中将文本文件的编码设置为UTF-8,以避免中文乱码的问题。具体步骤包括:打开Windows菜单,选择Preferences选项,进入General下的Workspace设置页面,找到Text file encoding选项,将其更改为UTF-8。
windows->Preferences>general->Workspace,右 侧Text file encoding,选择Other,改变为UTF-8。

336

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