Request请求:Failed to execute ‘setRequestHeader‘ on ‘XMLHttpRequest‘: String contains non ISO-8859-1 c
微信小程序报错Request请求:Failedtoexecute‘setRequestHeader‘on‘XMLHttpRequest‘:StringcontainsnonISO-8859-1c上网查资料,说是请求头里有中文.然后打印请求头信息截屏2022-08-18上午10.22.05.png果然有中文截屏2022-08-18上午10.23.18.pngencodeURIComponent(st