eclipse中UTF-8设置

1.windows->Preferences打开”首选项”对话框;

2.然后,general->Workspace,右侧Textfileencoding,选择Other,改变为UTF-8。