How to set the default JSP file header encoding in eclipse
When creating a new JSP page in Eclipse, the general default encoding is not utf-8, and our general project is unified using UTF-8 encoding, if you want to change a lot of trouble?
So we can only be so troublesome?
It's common to think that if you change the default settings.
I have set this up before:
Windows-----Preferences-----General-----Content Types-----Text-----JSP where default encoding is set (as shown in the procedure)
Unfortunately, this is still not the result I want to achieve.
Later, I used the following methods:
in windows------preferences--------the Web---------JSP files---------encoding there to set the default encoding .
Different versions of Eclipse or myeclipse may be different, and looking for more should still be found.
Ps:
Menu: Windows-preferences-web (list on the left of the popup box)-JSP Files-right edit area Encodingiso 10646/unicode (UTF-8) operation procedure see: The result really achieves this effect. The result is as follows: If you really want to be so convenient, you can try it.
How to set the default JSP file header encoding in eclipse