- (.. String.getBytes() new String(bytes) .
, , , Spring Boot UTF-8 , , , UTF-8.
. , , HTML, UTF-8, . " UTF-8". , HTML (.. Jsp) / , . application/x-www-form-urlencoded, Javascript (, , ). , HTML , , , . UTF-8 ( thats whats HTML), , (.. ?UTF-8Name=KoiValue&UTF-8Name=KoiValue). , , , , ( ) Koi8.
Thus, if you absolutely must support a different character encoding, you probably should use multipart/form(you specify this in the attribute enctypein the form element) AND DO NOT use the encoding filters that set UTF-8 as they are likely to cause corruption.
source
share