> Search for the garbage characters in your input
> before you produce the XML. You'll find the
> documentation for what characters are valid in XML
> documents in section 2.2 of the XML Recommendation
> here:
>
> http://www.w3.org/TR/REC-xml/#charsets
I'm not really sure how to search for the garbage characters though. I get the input as String. The site you gave me gives me a range of characters but how do I tell if the character is in that range?I mean I can
Would this function help?
Character.isISOControl(char ch)
Character.isValidCodePoint(int codePoint)