Home > Q&A > body text
ringa_lee2017-04-18 10:38:06
Use request.getCharacterEncoding() first to see what code you get.
request.getCharacterEncoding()
黄舟2017-04-18 10:38:06
First check what encoding is used and convert accordingly
PHP中文网2017-04-18 10:38:06
I now know the reason, that is, when saving the txt file, it must be encoded in UTF-8!