title: Converting UTF-8 to ISO-8859-1 in Java - how to keep it as single byte
body: <p>I am trying to convert a string encoded in java in UTF-8 to ISO-8859-1. Say for example, in the string 'âabcd'  'â' is represented in ISO-8859-1 as E2. In UTF-8 it is represented as two bytes. C3 A2 I believe. When I do a getbytes(encoding) and then create a new string with the bytes in ISO-8859-1 encoding, I get a two different chars. Ã¢.  Is there any other way to do this so as to keep the character the same i.e. âabcd?</p>