I have a list of people's names that originally came from a database on a Windows system. It gets transferred to my Android app in an XML file sent over the network.
My problem is that some of the names include accented characters. For example, one name contains an o with an acute accent. I need to be able to display these names, with their accents, in both a textView and a Spinner control. In my first version, I did nothing and the accented character appeared as a black diamond containing a question mark. I then tried converting all accented letters to their HTML escape versions, for example replacing the o acute with ó. I had hoped that this would be translated back to the correct accented character at the Android end but it wasn't. The string ó appeared in my Android app controls. Is there any simple way I can display a string that potentially includes accents in my Android app, with those accents correctly displayed? Note that I have control over both the Windows end and the Android end so I can modify the format of the XML file sent from Windows to Android if necessary. I would rather not have to tinker with fonts if it can be avoided. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/0f2ac8b0-0b74-4c3b-958a-30c2735800a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.