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

add DOS/Win hebrew unzipping fallback

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.4
    • Files API
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • w41_MDL-35795_m24_hebrewunzip
    • Hide

      1/ upload the attached file - for example into mod_folder
      2/ switch UI to Hebrew
      3/ somehow manage to edit the mod_folder files and extract the zip
      4/ there should be some two files with hebrew file names

      5/ zip some other files in Hebrew Windows (with Hebrew selected as default single byte legacy encoding) using built-in zipping
      6/ repeat 1-4 and verify it really works

      Show
      1/ upload the attached file - for example into mod_folder 2/ switch UI to Hebrew 3/ somehow manage to edit the mod_folder files and extract the zip 4/ there should be some two files with hebrew file names 5/ zip some other files in Hebrew Windows (with Hebrew selected as default single byte legacy encoding) using built-in zipping 6/ repeat 1-4 and verify it really works

      add extra mapping to zip_archive.php:

      • case 'ISO-8859-8': $encoding = 'CP862'; break;

      This should make non-utf8 Hebrew archives zipped in windows compatible with moodle if Hebrew selected as current language.

        1. hebrew.png
          hebrew.png
          9 kB
        2. pokus.zip
          10 kB
        3. הרצאה נוספת2.zip
          10 kB

            skodak Petr Skoda
            skodak Petr Skoda
            Nadav Kavalerchik Nadav Kavalerchik
            Aparup Banerjee Aparup Banerjee
            David Monllaó David Monllaó
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.