dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.89k stars 2.06k forks source link

使用rest,消费端调用提供者,提供者接收到乱码 #372

Closed Hummmmmm closed 6 years ago

Hummmmmm commented 6 years ago

使用rest,消费端调用提供者,提供者接收到乱码。debug了一下,是因为使用了默认的ISO8859-1编码。现在想拦截所有请求,设置请求头的编码为UTF-8。请问有什么办法吗