WeChat Mini Programs: how to solve the problem that the server returns json data with a space in the header?

if it is a single picture, I will regularly remove the space replace (/ s picture _ G,")

but like the article class is not good, the picture address with spaces is not displayed in the real machine test, how to solve it?

the server is php, encoded and utf-8

clipboard.png


is definitely not a space problem. Is there something wrong? let me try


whether the data is placed in the database or directly in the json file.


whether the returned data console is an object?

Menu