Changeset 7089 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2014-05-09T14:36:55+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/DownloadFileTask.java
r7033 r7089 14 14 import java.net.MalformedURLException; 15 15 import java.net.URL; 16 import java.nio.charset.StandardCharsets; 16 17 import java.util.Enumeration; 17 18 import java.util.zip.ZipEntry; … … 169 170 */ 170 171 public static void unzipFileRecursively(File file, String dir) throws IOException { 171 try (ZipFile zf = new ZipFile(file )) {172 try (ZipFile zf = new ZipFile(file, StandardCharsets.UTF_8)) { 172 173 Enumeration<? extends ZipEntry> es = zf.entries(); 173 174 while (es.hasMoreElements()) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r7083 r7089 162 162 File file = in.getFile(); 163 163 Utils.close(in); 164 zipFile = new ZipFile(file );164 zipFile = new ZipFile(file, StandardCharsets.UTF_8); 165 165 zipIcons = file; 166 166 ZipEntry zipEntry = zipFile.getEntry(zipEntryPath);
Note:
See TracChangeset
for help on using the changeset viewer.