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?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b3a2-2ba71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b3a2-2ba71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?