ios - 网页数据解码的问题
巴扎黑
巴扎黑 2017-04-17 17:44:14
0
2
184

最近做了一个网页交互的需求,HTML5传给我参数 ,折腾了一番,最后参数是这个样子的,我接下来该如何做?

巴扎黑
巴扎黑

reply all(2)
Peter_Zhu

It seems to be a problem of inconsistent encoding and decoding methods. Do you know the format of the parameters given by the other party? If it is utf-8, you use utf-8 to decode. If it is gbk, you use gbk to decode.

Ty80

You can use URL encoding ios urldecode decoding, you can refer to here or you can go to Baidu ios urldecode
http://blog.csdn.net/kesalin/article/details/6678939

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!