Ignore:
Timestamp:
2014-05-09T14:36:55+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - Use of new Java 7 zip constructors allowing to specify a charset for entries names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/FileImporter.java

    r6882 r7089  
    88import java.io.IOException;
    99import java.io.InputStream;
     10import java.nio.charset.StandardCharsets;
    1011import java.util.List;
    1112import java.util.zip.GZIPInputStream;
     
    162163            return null;
    163164        }
    164         ZipInputStream zis = new ZipInputStream(in);
     165        ZipInputStream zis = new ZipInputStream(in, StandardCharsets.UTF_8);
    165166        // Positions the stream at the beginning of first entry
    166167        ZipEntry ze = zis.getNextEntry();
Note: See TracChangeset for help on using the changeset viewer.