Opened 10 years ago
Last modified 10 years ago
#5361 closed defect
/vsizip: troubles with cyrillic filenames — at Version 1
Reported by: | oleinik | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | GDAL_Raster | Version: | 1.10.1 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
Most programs on windows create zip-archives with filenames in DOS CP866 charset. Sometimes zip-archives also contains filenames in UNICODE charset. GDAL doesn't convert charset between DOS and ANSI and doesn't use UNICODE version as result we have trouble. To open dataset '/vsizip/archive.zip/image_name' with cyrillic name we need firstly convert image_name from ANSI to OEM, then concat with prefix and archive name and then convert result to UTF8. Not very easy-to-use. Moreover different parts of result dataset's description also have different charsets and as result PAM .aux.xml and .ovr filenames not suitable for OS.