Opened 8 years ago

Closed 8 years ago

#6631 closed defect (fixed)

Incorrect encoding of PAM filename inside zip-archives

Reported by: oleinik Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

In attachment three different .zip with cyrillic .bmp inside and testing program. After each run of this program inside .zip-files appears new PAM-file with wrong name-encoding. And therefore TryLoadXML was not found this file.
PAM-filename encoding should be the same as the original archived file.

Attachments (4)

cp866.zip (330 bytes ) - added by oleinik 8 years ago.
cp866_plus_utf8.zip (391 bytes ) - added by oleinik 8 years ago.
utf8.zip (339 bytes ) - added by oleinik 8 years ago.
test.py (572 bytes ) - added by oleinik 8 years ago.

Download all attachments as: .zip

Change History (5)

by oleinik, 8 years ago

Attachment: cp866.zip added

by oleinik, 8 years ago

Attachment: cp866_plus_utf8.zip added

by oleinik, 8 years ago

Attachment: utf8.zip added

by oleinik, 8 years ago

Attachment: test.py added

comment:1 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 35231:

/vsizip/ : support creating non-ASCII filenames inside a ZIP (fixes #6631)

Note: See TracTickets for help on using tickets.