|
Re: ISO-8859-1
|
Posted: Mar 20, 2006 4:31 PM
|
|
UnsupportedEncodingException will only be raised if the encoding you choose isn't supported (i.e. ISO-8859-1).
Furthermore, I do not think that you can say that a text is not ISO-8859-1 compliant. You could probably check to see if there are many "strange" characters read.
Telling the stream that it should decode the data as ISO-8859-1, well then it does, and it will be valid.
An article on the encoding topic: http://www.joelonsoftware.com/articles/Unicode.html
|
|