ios - NSString \u0026 to & -


this question has answer here:

i download html file app , noticed lot of :

\u0026 

i search net , noticed in equal : &

so try replace & :

newstr = [newstr stringbyreplacingoccurrencesofstring:@"/u0026" withstring:@"&"]; 

but \u0026 in string , won't replace. idea why happen?

what need using here cfstringtransform() core foundation function going come in real hand trying convert , escaped forms.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -