ASP接收AJAX Post 过来的数据把空格过滤了,这是怎么回事?
在使用AJAX POST数据前,我把打印到屏幕确认得到的是这个字符串
data={"ids":["6"],"fields":[{"productid":"6","productClass":"1","productname":"我的高达模型 2013","productcode":"gundamseed 2013"}],"conditions":[]}
但在ASP中接收到的字符串(request.Form("data"))却是这样的
{"ids":["6"],"fields":[{"productid":"6","productClass":"1","productname":"我的高达模型2013","productcode":"gundamseed2013"}
productname和productcode 对应的值空格被过滤掉了。
这是怎么回事?
怎样才能保留空格?