Hi all, I need to get data from web service, one of the data is an URL String. For example: www.testing.aspx?username=123&pwd=456. But after I get this URL String data from web service and used in my Iphone Project, in my Iphone Project this URL String become www.testing.aspx?username=123&pwd=456. So, I used a method called - (NSString *)stringByAddingPercentEscapesUsingEncoding: (NSStringEncoding)enc and using NSUTF8StringEncoding. The resulted URL String is : www.testing.aspx?username=123&2pwd=456. The resulted URL string seems not same as what I get from web service. Am I doing something wrong? Anyone have any idea to encode an URL String? Any idea are appreciated. Thanks a lot.