Ignore:
Timestamp:
2014-05-09T14:36:55+02:00 (11 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/tools/ImageProvider.java

    r7082 r7089  
    598598
    599599    private static ImageResource getIfAvailableZip(String fullName, File archive, String inArchiveDir, ImageType type) {
    600         try (ZipFile zipFile = new ZipFile(archive)) {
     600        try (ZipFile zipFile = new ZipFile(archive, StandardCharsets.UTF_8)) {
    601601            if (inArchiveDir == null || ".".equals(inArchiveDir)) {
    602602                inArchiveDir = "";
Note: See TracChangeset for help on using the changeset viewer.