JSON control character error, without a control character

后端 未结 1 667
夕颜
夕颜 2021-01-24 03:25

Im using JSON to transfer data from my server to my client and vice versa. I compress chat message strings with LZString to save space. This works fine, except for 4 character m

相关标签:
1条回答
  • 2021-01-24 03:43

    there are control characters, which seems to you like a space. for example have a look at the ASCII 0-31 http://ascii-code.com/

    Maybe try to copy-paste into Windows Editor (not Notepad++ or word) and pasting back into your json data.

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