I am getting a bunch of information from a database. To make sure various symbols work I am testing with the String below.
awdasdasdada
sa
asdasd
asdasdasd!Q&#^@)#^@)#_@*#&@&#
(!@&#*(@T$#&^$#
^*%$#^$^#@*&^*
I set this String to one of my TextView’s text and get the following result.

The box symbols do not show up in the String, yet they are displayed. Anyone have any idea what those strange symbols are and how to get rid of them?
What version of Android are you testing this on? If it’s 2.1 then it might be that you’re getting
\n\rfrom the database. For some reason, 2.1 displays\ras those boxes. You have to remove all of the\rs from the string if you want to preserve new lines when using 2.1.