spring.messages.encoding=UTF-8 default encoding is ISO-8859-1 new String (“chinese”.getBytes(“ISO-8859-1”),“utf-8”)