stringWithFormat converts German umlauts

94 Views Asked by At

I have an NSMutableArray miniResults which contains the following NSStrings.

List 1, Some strings have German umlauts.
enter image description here

After putting miniResults into NSString solution with this:

solution    = [NSString stringWithFormat:@"%@",miniResults];

solution contains converted strings what I don´t want.

List 2, All umlauts converted!
enter image description here

I don´t see why this happens.
What am I doing wrong?

Any ideas?

1

There are 1 best solutions below

5
rimrul On

The compiler seems to escape them to unicode. Shouldn't be a problem anyfurther. I've got no sources for this, but it looks like that.

One possible fast solution would be substituting them. Make "Ae" from "Ä", etc.