I have an array of string in a Plist file that located in resource folder. The string at each index will be a parameter to submit to my server thru POST request. I got error of unrecognized parameter from my server.
Then I NSLog the string out, I saw some weird characters that representing for whitespace. That’s the problem.
ECELL   10100 (U) - Gen (3.0 min, 3.0 hrs)
It’s supposed to be like this
ECELL 10100 (U) - Gen (3.0 min, 3.0 hrs)
Thank you for your help.
You can check that whitespaces in your string is actually whitespace character by Command+F and then type “whitespace” in there. If it is not then just simple replace with actual whitespaces.