theUturn theUturn - 5 months ago 10
Objective-C Question

how to replace unicode "&aring" with norwegian character å

I want to replace the unicode:

with Norwegian character
but the following code is not helping:

[unq1 stringByReplacingOccurrencesOfString:@"å" withString:@"å" ];


It is working perfectly on my side, may be the problem is you have not save the result of this stringByReplacingOccurrencesOfString method. So try like this

unq1 = [unq1 stringByReplacingOccurrencesOfString:@"å" withString:@"å"];