String encoding
807569Jul 27 2006 — edited Jul 27 2006Hi, I have read String, that is in UTF-8 code - single byte per char. There are some special national characters for codepage 1250. I need convert it into unicode.
I come upon a one solution:
BufferedReader reader = new BufferedReader(new InputStreamReader(new StringBufferInputStream(title), "windows-1250"));
System.out.println("buff reader: " + reader.readLine());
but StringBufferInputStream is deprecated. exists any smart solution