How-To: URL Encode NSString with UTF-8 Characters in Objective-C

Let’s say you have to send a POST HTTP request that contains UTF-8 characters. But the problem is that url will not be formed if you simply try to generate it from a string. I managed that problem in the following way:



Leave a Reply

Your email address will not be published. Required fields are marked *