Don't try to achieve this with str.getChars, I never got this working in sth like 2 hours of work. Instead, go for using InputStreamReader if possible. This class includes the required conversion logic.
If 'is' is a InputStream that you want to process, use code like this:
If 'is' is a InputStream that you want to process, use code like this:
new InputStreamReader(is, "ISO-8859-1");