Skip navigation.
 
mlRe: Converting strings to html safe
FROM : Ryan Britton
DATE : Sun Aug 13 04:33:08 2006

CFXMLCreateStringByEscapingEntities

http://developer.apple.com/documentation/CoreFoundation/Reference/
CFXMLTreeRef/Reference/reference.html


On Aug 12, 2006, at 5:56 PM, Craig Stanton wrote:

> I should have added that stringByAddingPercentEscapesUsingEncoding: 
> doesn't work because Ge doesn't turn things like %20 back into a 
> space but it does turn & into &
>
>
> On 13/08/2006, at 12:42 PM, Craig Stanton wrote:
>

>> Hello list,
>>
>>     I am trying to convert some strings to html versions for a 
>> specific renderer that doesn't like getting "&" or "<" part way 
>> through a sentence. What I need to do is turn things like "&" into 
>> "&amp;". Is there a ready made function for this? I've search the 
>> list and documentation in XCode but haven't found the right thing 
>> yet, possibly my search terms aren't correctly phrased. I'd rather 
>> use a pre-made function than making my own large Switch statement 
>> incase I miss out one case.
>>
>> And no, I don't have control over the renderer, it's Google Earth :-)
>>
>> Cheers,
>>     Craig
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list      (<email_removed>)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/craigstanton%
>> 40mac.com
>>
>> This email sent to <email_removed>

>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlConverting strings to html safe Craig Stanton Aug 13, 02:42
mlRe: Converting strings to html safe Craig Stanton Aug 13, 02:56
mlRe: Converting strings to html safe John Stiles Aug 13, 04:29
mlRe: Converting strings to html safe Ryan Britton Aug 13, 04:33
mlRe: Converting strings to html safe Conor Dearden Aug 13, 09:18