Пляшу уже который час с кодировками, что-то не понимаю в чём дело. URL u; InputStream is = null; DataInputStream dis; String s; try { u = new URL(url); is = u.openStream(); dis = new DataInputStream(new BufferedInputStream(is)); try { BufferedWriter out = new BufferedWriter(new FileWriter(file)); while ((s = dis.readLine()) != null) { System.out.println(s); out.write(s); } out.close(); } catch (IOException e) {} } catch (MalformedURLException mue) { System.out.println("Ouch - a MalformedURLException happened."); mue.printStackTrace(); System.exit(1); } catch (IOException ioe) { System.out.println("Oops- an IOException happened."); ioe.printStackTrace(); System.exit(1); } finally { try { is.close(); } catch (IOException ioe) {} } // end of 'finally' clause } // end of main } // end of class definition