Changeset 4237 in josm


Ignore:
Timestamp:
2011-07-14T08:53:06+02:00 (10 years ago)
Author:
stoecker
Message:

fix #6593 - patch by Don-vip - UTF-8 file loading fix (the last one?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Version.java

    r3083 r4237  
    2121 */
    2222public class Version {
    23     /** constant to indicate that the currnt build isn't assigned a JOSM version number */
     23    /** constant to indicate that the current build isn't assigned a JOSM version number */
    2424    static public final int JOSM_UNKNOWN_VERSION = 0;
    2525
     
    3838        String s = null;
    3939        try {
    40             in = new BufferedReader(new InputStreamReader(resource.openStream()));
     40            in = new BufferedReader(new InputStreamReader(resource.openStream(), "UTF-8"));
    4141            StringBuffer sb = new StringBuffer();
    4242            for (String line = in.readLine(); line != null; line = in.readLine()) {
Note: See TracChangeset for help on using the changeset viewer.