I have a problem identical to this problem here.
I even want to encode the same infromation as him (it’s a date/time for asp.net)…
When ever I try to add a backslash i get two backslashes since I used \.
Everyone in the thread above has claimed that this is a problem with NSLog and that NSString does treat \\ as a \. I have checked this further by using a packet sniffer to examine the packets I’m sending to the webserver and I can confirm that it is transmitting a double backslash instead of a single backslash.
Does anyone know how to add a backslash to a NSString?
The strings and NSLog are working fine for me:
What am I missing?