String encoding in android
I need to encode string in android but it doesn't work . I don't know which encoding should I do .I need to display "Ruzyn\u011b (PRG)" on textview but it display same as look without encoding .Is there any help开发者_如何学JAVA ??
Just use s=new String (s.getBytes())
, do not use UTF-8.
精彩评论