You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/05/27 03:20:32 UTC

[GitHub] [servicecomb-java-chassis] demonbug commented on issue #3008: 框架能否在 Invocation Context 设置和读取时自动进行 URL 编解码操作?

demonbug commented on issue #3008:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3008#issuecomment-1139241096

   JsonUtils可以提供一个支持unicode编码的方法,提供单独的mapper,把JsonWriteFeature.ESCAPE_NON_ASCII开关打开,然后在这儿修改成调用unicode编码的方法
   org.apache.servicecomb.transport.rest.client.http.RestClientInvocation#setCseContext
   
   context转成json的时候自动进行unicode编码,jackson在反序列化时会自动进行解码,业务无感知,理论上不存在兼容性问题


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org