Problem converting bytes to string
Hi,
i'm converting byte[ ] to String but for some reason some characters aren't working right. At the moment i have problems at least with ρ (greek small rho) and č and ď (some polish characters). Other greek and polish characters are working as well as ? ?and ?
When i'm writing bytes to file with following statement everything works fine and all characters are displaid correctly with utf-8 encoding (I check file and it's encoding with Firefox).
OutputStream outti = new FileOutputStream(fiile);
outti.write(tmpString.getBytes("UTF-8"));
outti.close();
But when casting to string couple characters are displayd with question mark
new String(tmpString.getBytes("UTF-8"))
Any idea what might be the reason and solution?
Niko

