I am rewriting iPad application on Windows 8.
in xcode there is:
- (NSString *)urlEncodeString: (NSString *) string{
return (NSString *)CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes(NULL,(CFStringRef)string,NULL,CFSTR("!*'();:@&=+$,/?%#[]"),kCFStringEncodingUTF8));
}
Am i correct that this part of code replaces those !*'();:@&=+$,/?%#[] symbols with ASCII codes?
And if somebody knows C# am i doing it right:
string data = Uri.EscapeDataString(myString);