• Chaskiel Grundman's avatar
    Handle non-ascii filenames in zip files · fba7835f
    Chaskiel Grundman authored
    zip files are opened in binary mode and rubyzip makes no attempt to
    detect and tag filenames, so any non-ascii filename is labeled
    as ASCII_8BIT encoding and cannot be used as a string. Detect
    utf-8 or convert from single-byte Windows-1252, as appropriate.
    fba7835f