• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ARC question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: &nbsp; ↔ “ ”). 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


References: 
 >ARC question (From: Vincent Habchi <email@hidden>)
 >Re: ARC question (From: Mike Abdullah <email@hidden>)
 >Re: ARC question (From: Vincent Habchi <email@hidden>)
 >Re: ARC question (From: Roland King <email@hidden>)
 >Re: ARC question (From: Vincent Habchi <email@hidden>)

  • Prev by Date: how to clip inside a path
  • Next by Date: Re: how to clip inside a path
  • Previous by thread: Re: ARC question
  • Next by thread: Re: ARC question
  • Index(es):
    • Date
    • Thread