Json question marks (“??????”) instead of Hebrew chars

前端 未结 1 998
野性不改
野性不改 2021-01-20 04:59

I am getting data from my db which contains words in Hebrew. Then I am getting this data from ResultSet putting into a String and then putting it to a JSO

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-20 05:17

    Solved it with @ Johannes H help. added response.setCharacterEncoding("utf-8");

    0 讨论(0)
提交回复
热议问题