Re: ARC question
Re: ARC question
- Subject: Re: ARC question
- From: Mike Abdullah <email@hidden>
- Date: Mon, 29 Oct 2012 13:27:38 +0000
On 29 Oct 2012, at 12:01, Vincent Habchi <email@hidden> wrote:
> Le 29 oct. 2012 à 12:53, Roland King <email@hidden> a écrit :
>
>> Does CFURLCreateStringByReplacingPercentEscapes() not do this for you? I often use it going the other way from text to escaped text, not just for URLs.
>
> AFAIK, CFURLCreateStringByReplacingPercentEscapes() substitues special chars for % in URLs (e.g: “ ” ↔ “ ”) but does not handle HTML-ampersand escapes (e.g: ↔ “ ”). I did a shallow Google search and found nothing except statements that no NSString or other Cocoa object could provide such a service.
Indeed, CFURLCreateStringByReplacingPercentEscapes and friends deal in *percent* escaping, not *XML entity* escaping
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden