I searched a few threads about it and people said it worked. I tried both NSASCIIStringEncoding and NSUTF8StringEncoding. I NSLogged it and it appears to escape spaces with %20, but it doesn't escape any other characters.
and for the record, I have always passed stuff like the @ and < symbols fine without escape. But the main problem is with the & character, because that is a symbol for a POST parameter.
And that above method doesn't escape it, only the spaces.
and for the record, I have always passed stuff like the @ and < symbols fine without escape. But the main problem is with the & character, because that is a symbol for a POST parameter.
And that above method doesn't escape it, only the spaces.