Re: ARC question
Re: ARC question
- Subject: Re: ARC question
- From: Mike Abdullah <email@hidden>
- Date: Mon, 29 Oct 2012 15:26:22 +0000
On 29 Oct 2012, at 13:55, Vincent Habchi wrote:
> Le 29 oct. 2012 à 14:34, Mike Abdullah <email@hidden> a écrit :
>
>> Well, you can ask CFXMLCreateStringByUnescapingEntities() to do this on OS X, although if I recall all the CFXML functions have now sadly been deprecated. The source code for it should still be available if you search around.
>
> I wasn’t aware of those calls. They do not seem to be deprecated. However, I have also a lot of accented characters (é, à, û, etc.) to unescape (since the contents are in French), and CFXMLCreateStringByUnescapingEntities() provides a basic dictionary of only five elements; it is extensible, but of course at the expense of creating a custom dictionary, which, added to the necessary conversions between CFStringRef and NSString and vice-versa, would hamper the legibility of the code somewhat.
How are those accented characters represented in your HTML?
_______________________________________________
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