I need to perform a conversion of characters from UTF-8 to ISO-8859-1 in Java without losing for example all of the UTF-8 specific punctuation.
Ideally would like these to be converted to equivalents in ISO (e.g. there are probably 5 different single quotes in UTF-8 and would like them all converted to ISO single quote character).
String.getBytes("ISO-8859-1") just won't do the trick in this case as it will lose the UTF-8-specific chars.
Do you know of any ready mappings or libraries in Java that would map UTF-8 specific characters to ISO?