FROM : Jerry Krinock
DATE : Wed Mar 12 22:46:56 2008
On 2008 Mar, 11, at 23:56, JanakiRam wrote:
> CFURLCreateStringByAddingPercentEscapes...not
> encoding special characters such as @#$%&* etc.
CFURLCreateStringByAddingPercentEscapes only encodes the characters
mentioned in RFC 2396, which is: All non-ASCII characters plus these
fourteen:
` # % ^ [ ] { } \ | " < > space
If you want @ * and $ to be encoded, pass them in the fourth argument.
Also, follow Jens' advice to make sure this is really what you want to
do.
DATE : Wed Mar 12 22:46:56 2008
On 2008 Mar, 11, at 23:56, JanakiRam wrote:
> CFURLCreateStringByAddingPercentEscapes...not
> encoding special characters such as @#$%&* etc.
CFURLCreateStringByAddingPercentEscapes only encodes the characters
mentioned in RFC 2396, which is: All non-ASCII characters plus these
fourteen:
` # % ^ [ ] { } \ | " < > space
If you want @ * and $ to be encoded, pass them in the fourth argument.
Also, follow Jens' advice to make sure this is really what you want to
do.
| Related mails | Author | Date |
|---|---|---|
| JanakiRam | Mar 12, 07:56 | |
| Jens Alfke | Mar 12, 16:59 | |
| Jerry Krinock | Mar 12, 22:46 |






Cocoa mail archive

