KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The stringByReplacingPercentEscapesUsingEncoding method is not working properly as it's not decoding special symbols that dont start with a % character, i.e., the + character. Does anyone know of a better method to do this in iOS? Here's what I'm currently using: NSString *path = [@"path+with+spaces" stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; And here's an example of the output: path+with+spaces
Tags (comma-separated)
Save Edits
Cancel