Problem with escaped string (url)
Problem with escaped string (url)
- Subject: Problem with escaped string (url)
- From: Thierry Bucco <email@hidden>
- Date: Tue, 28 Aug 2001 11:04:26 +0200
Hi,
I need to change a NSString into an escaped string in order to pass it
to a web browser.
so I use CFURLCreateStringByAddingPercentEscapes function. It works but
not for character like '+' !
here is my code :
escapedString = (NSString
*)CFURLCreateStringByAddingPercentEscapes(NULL,
(CFStringRef)textToEncode, NULL, NULL, kCFStringEncodingISOLatin1);
When I try i with 'c++' the result is c++ but should be : c++
What is the problem ?
Thanks for your help
Thierry