Appium bug ?String by using getText() method unequals original text when superscript in German exist

I use appium method:
assertEquals("Bestätigungscode erhalten",driver.findElementByAccessibilityId("Bestätigungscode erhalten").getText());

It report error as below:
org.junit.ComparisonFailure: expected:<Best[ä]tigungscode erhalten> but was:<Best[ä]tigungscode erhalten>at org.junit.Assert.assertEquals(Assert.java:115)at org.junit.Assert.as

I try to use appium inspector to get name,and it’s equal to String by using getText();

But when I use name got by inspector and findElementByAccessibilityId(name), it will report can not find element error.

it that iOS bug or getText() method in iOS will make superscript different from original text.

How can I fix this problem?

appium 1.5.3
iOS 9.3
iPhone 5

org.junit.ComparisonFailure: expected:Best[ä]tigungscode erhalten but was:Best[ä]tigungscode erhalten at org.junit.Assert.as

i suggest to normalize text before compare! different áàâ… can actually differ. do text normalization first.

more info

It work! Thanks a lot!