标签: android string unicode character
我正在做Android应用程序,我要在TextView中显示一个String。由于某种原因,我收到的字符串就像是普通字符和unicode字符的混合。
例如,我收到字符串“ Caf \ u00e9 ”,在textview中应显示“Café”。
答案 0 :(得分:0)
您将要使用此
http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringEscapeUtils.html
并使用this method