Hi there, My data (stored as UTF-8 in the SQL db), when arrive at the phone as json strings, appear to be decimal Unicode, such as "约克小"
When I use setText("...") to show them in TextView, they are shown in their original form, rather than the characters they represent. If I use their equivalent form of UTF-8, i.e. "\u7ea6\u514b\u5C0f", they then are shown correctly as "约克小"。 My questions are: 1. How to receive the data in "UTF-8" rather than decimal unicode? (I tried InputStreamReader(inputStream, "UTF-8") but seems not working) or 2. How to send the data in "UTF-8" for Android rather than decimal unicode (the same decimal unicode work fine for browser)? or 3. Is there any function which can turn decimal unicode string into UTF-8 string? 4. Any other advice please? Many thanks in advance, qmwestview --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---