NSString * nameStr = [NSStringstringWithFormat:@"%@",self.name.text];
NSString * nameUrl = [nameStrstringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
self.url = [NSString stringWithFormat:@"%@",nameUrl];
NSString * nameStr = [NSStringstringWithFormat:@"%@",self.name.text];
NSString * nameUrl = [nameStrstringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
self.url = [NSString stringWithFormat:@"%@",nameUrl];
本文标题:iOS中的url,GET请求参数中有汉字
本文链接:https://www.haomeiwen.com/subject/bgrmxftx.html
网友评论