*** ./jabref/trunk/jabref/src/java/net/sf/jabref/net/URLDownload-old.java	Wed May  4 12:30:25 2011
--- ./jabref/trunk/jabref/src/java/net/sf/jabref/net/URLDownload.java	Thu Jun 16 13:16:33 2011
***************
*** 12,17 ****
--- 12,19 ----
  
  import javax.swing.ProgressMonitorInputStream;
  
+ import net.sf.jabref.imports.ImportFormatReader;
+ 
  /**
   * @author Erik Putrycz erik.putrycz-at-nrc-cnrc.gc.ca
   */
***************
*** 172,178 ****
      public void copy(InputStream in, Writer out) throws IOException
        {
          InputStream _in = new ProgressMonitorInputStream(parent, "Downloading " + source.toString(), in);
!         BufferedReader read = new BufferedReader(new InputStreamReader(_in));
          byte[] buffer = new byte[512];
          String line;
          while ((line = read.readLine()) != null) {
--- 174,180 ----
      public void copy(InputStream in, Writer out) throws IOException
        {
          InputStream _in = new ProgressMonitorInputStream(parent, "Downloading " + source.toString(), in);
!         BufferedReader read = new BufferedReader(ImportFormatReader.getReaderDefaultEncoding(_in));
          byte[] buffer = new byte[512];
          String line;
          while ((line = read.readLine()) != null) {
