- Timestamp:
- 2014-12-20T02:21:22+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetReader.java
r7516 r7847 26 26 import org.openstreetmap.josm.gui.preferences.map.TaggingPresetPreference; 27 27 import org.openstreetmap.josm.io.CachedFile; 28 import org.openstreetmap.josm.io.UTFInputStreamReader; 28 29 import org.openstreetmap.josm.tools.XmlObjectParser; 29 30 import org.xml.sax.SAXException; … … 238 239 zipIcons = cf.getFile(); 239 240 } 240 try (InputStreamReader r = new InputStreamReader(zip == null ? cf.getInputStream() : zip, StandardCharsets.UTF_8)) {241 try (InputStreamReader r = UTFInputStreamReader.create(zip == null ? cf.getInputStream() : zip)) { 241 242 tp = readAll(new BufferedReader(r), validate); 242 243 }
Note:
See TracChangeset
for help on using the changeset viewer.