1. Modify the code for Eclipse Workspace to UTF-8
Window---Preferences---general---Workspace---Text file encoding to UTF-8
2. Modify the Import project's code to UTF-8. set the steps to : Right click on the imported project ---Properties---Resource---Text file encoding to be UTF-8---------- The encoding settings are saved on the hard drive under the project directory . Setting in a file in a folder .
3. Modify The encoding of a class of files to UTF-8. For example, to modify all. java files, the steps to encode UTF-8 are : Window---Preferences---general---Content Types--- In the upper right box, Text---The Java Source File---Default encoding to UTF-8.
4. Modify the encoding of a file to UTF-8. Setup Steps : Right-click the file to set the encoding ---Properties---Resource---Text file encoding set to UTF-8.
Import External Android Project there is a solution to garbled Chinese