jersey web service json utf-8 encoding

后端 未结 7 2035
执笔经年
执笔经年 2020-12-08 00:28

I made a small Rest webservice using Jersey 1.11. When i call the url that returns Json, there are problems with the character encoding for non english characters. The corre

7条回答
  •  攒了一身酷
    2020-12-08 00:57

    If adding the charset to each and every resource is not an option, maybe the answer to this question, which shows how to enforce a default charset, might be helpful.

提交回复
热议问题