I've got a problem with this code, I'm loosing the ° character :
StringBuffer libelle = new StringBuffer("Name : ");
libelle.append(lCurrentLine[2]);
try {
libelle.append(new String(" - N° : ".getBytes("UTF-8"), "ISO-8859-1"));
} catch (UnsupportedEncodingException e) {
libelle.append(" - N : ");
}
After this code I have Name : blabla - N° : blabla
in my StringBuffer instead of Name : blabla - N° : blabla
Any idea ?