[escape]
ISO Latin character set encodes the specified string, characters that will not be encoded [ @ * / ]
[encodeURI]
UTF-8 character set encodes the specified string
[encodeURIComponent]
UTF-8 character set encodes the specified string, [supports more characters]
When the source and target pages are both in the same character set, there is no need to convert to UTF -8, [escape] can be used at this time
When the source and target page character sets are different, the source characters need to be converted into target characters. For unification, consider using UTF-8
new String(request.getParameter(" PARAM_NAME").getBytes("Source page encoding"), "UTF-8")