Le 29 oct. 2012 à 12:53, Roland King <[email protected]> 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: “ ” ↔ “%20”) 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. Vincent _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
