ITeye博客

Eclipse console UTF-8编码的设置

sunxboy · 2015-12-28 08:50 · eclipse · 编程语言 · Markdown

建置全UTF-8的環境:

1.在eclipse.ini的-vmargs下面加上 -Dfile.encoding=UTF-8

2.eclipse-->Window-->Preferences-->General-->Workspace-->Text file encoding-->UTF-8

3.Installed JREs-->Default VM Arguments:-->-Dfile.encoding=UTF-8

4.eclipse-->Run-->Run Configurations-->Arguments-->VM arguments-->-Dfile.encoding=UTF-8

5.eclipse-->Run-->Run Configuration-->Common --> Console Encoding-->Others-->GBK

==>ok!

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。