myeclipse 日常使用
1对java源文件编码设置为UTF-8.
windows->Preferences->general->Context Types->Text,选择Java Source File,在下面的Default encoding输入框中输入UTF-8,点Update,tb则设置Java文件编码为UTF-8。