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
Post a Comment