Ticket #4417: utf8.2.patch

File utf8.2.patch, 755 bytes (added by Upliner, 16 years ago)
  • src/org/openstreetmap/josm/gui/help/HelpContentReader.java

     
    5252            url = new URL(helpTopicUrl);
    5353            con = (HttpURLConnection)url.openConnection();
    5454            con.connect();
    55             in = new BufferedReader(new InputStreamReader(con.getInputStream()));
     55            in = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8"));
    5656            return prepareHelpContent(in);
    5757        } catch(MalformedURLException e) {
    5858            throw new HelpContentReaderException(e);