How do I remove unrecognized characters which come back from a web service?

Posted by Jay Askren on Stack Overflow See other posts from Stack Overflow or by Jay Askren
Published on 2010-04-16T02:45:07Z Indexed on 2010/04/21 6:53 UTC
Read the original article Hit count: 241

Filed under:
|
|
|
|

I am working on an app which calls a rest web service. Sometimes the xml responses contain characters which the phone can not display. When displaying these characters, an empty box is displayed instead. I would like to filter out these characters. How can I detect if a character will be able to be displayed on the screen?

© Stack Overflow or respective owner

Related posts about android

Related posts about Xml