MyEclipse設置java的utf-8格式

1.windows->Preferences->general->Workspace,右 側Text file encoding,選擇Other,改變爲UTF-8,之後新創建工程其屬性對話框中的Text file encoding即爲UTF-8。windows

2.windows->Preferences->general->Content Types->Text->Java Source File,在下面的Default encoding輸入框中輸入UTF-8,點Update,則設置Java文件編碼爲UTF-8。編碼

相關文章
相關標籤/搜索