1、首先发送一个请求“http://localhost:8080/ServletDemo/Hi?name=你好abc,然后F12可以查看到下面按照utf-8后的编码,使用语句byte [] bytes=”nihao”.getBytes()也可以将“你好”转换为“e4bda……