servlet - Java中使用io流读取文件内容却出现乱码问题
PHPz
PHPz 2017-04-18 10:36:06
0
3
3074
PHPz
PHPz

学习是最好的投资!

reply all(3)
左手右手慢动作

Use request.getCharacterEncoding() first to see what code you get.

黄舟

First check what encoding is used and convert accordingly

Ty80

I now know the reason, that is, when saving the txt file, it must be encoded in UTF-8!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template