This garbled problem plagued me for half a month, has been too lazy to repair him, also does not affect the function, nothing more than the need to open their own notepad.
After a long time, found that no matter what type I use, utf-8 GBK gbk2312, etc. to overwrite the file, the new file copy paste in is good, but each reboot after the MyEclipse Cup.
Think for a long time, what coding are set, and finally found a very alternative solution, such as the figure.
Go to his sister's garbled.
The following is my half month tangled up in the combination of the online great God's more effective treatment of garbled solution, with this article, you will be invincible.
1. Project overall UTF-8 code
2. All new Java File UTF-8 encoding (this proposal you find a blank project to choose this one, because he will be all of your previous project Java file to change the format, easy to cause accidental injury, and you find a blank without any project of the new MyEclipse words, it is foolproof. )
JS, JSP the same, play by themselves.
3. Single file, a single project modification coding method