Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33710

moodle created zip files are not utf-8 compatible

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4, 2.1, 2.2, 2.3
    • 2.4
    • General
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • w28_MDL-33710_m24_utfzip
    • Hide

      1/ run phpunit tests
      2/ try extracting the attached file
      3/ try downloading of all assignment from old advanced upload assignment module - make sure some students have names with utf-8 chars in them
      4/ try zipping in file manager (I hope we have this functionality somewhere)
      5/ finally run course backup/restore - this is probably the most important use of zipping/unzipping in moodle

      Show
      1/ run phpunit tests 2/ try extracting the attached file 3/ try downloading of all assignment from old advanced upload assignment module - make sure some students have names with utf-8 chars in them 4/ try zipping in file manager (I hope we have this functionality somewhere) 5/ finally run course backup/restore - this is probably the most important use of zipping/unzipping in moodle

    Description

      Potential solution is to use bit 11 in general file header fields. The problem is that we can not tweak the PHP zip extension itself, luckily the general flag is not checksummed and the zip_archive should allow postprocessing in close() methods.

      This issue is not for extracting of zip files created in other systems.

      the ZIP structure is described at http://www.pkware.com/documents/casestudies/APPNOTE.TXT

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Sam Hemelryk Sam Hemelryk
              Rossiani Wijaya Rossiani Wijaya
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12