How to throw exception when input stream has chars outside the ISO-8859-1 range
I need to replace non ISO-8859-1 chars with configuured chars in inputStream (InputStream is created upon the XML file). So i need to know how to throw exception when non ISO-8859-1 chars are available in InputStream. Please suggest.
No comments:
Post a Comment