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

Unable to restore legacy Hebrew course_files from Moodle 1.9 backups (filename encoding issues)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • 2.4, 2.5
    • Backup, Files API
    • None
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • Hide

      Set the restoring user's profile language to "English" and then restore the 1.9.x backup file into Moodle 2.x (You might also would like to set the current course language to English, in case user's language is ignored)

      Another workaround:
      Set local (Hebrew in my case) language "oldcharset" and "localewincharset" string tokens in "langconfig.php" to "UTF-8",

      Show
      Set the restoring user's profile language to "English" and then restore the 1.9.x backup file into Moodle 2.x (You might also would like to set the current course language to English, in case user's language is ignored) Another workaround: Set local (Hebrew in my case) language "oldcharset" and "localewincharset" string tokens in "langconfig.php" to "UTF-8",

    Description

      When linux servers (CentOS 5.x) with PHP 5.3 create Moodle 1.9 backup files using ZIP, Hebrew filenames and folder names are saved within the Zip file with ISO-8859-8 encoding. Zip does not support UTF-8.

      Extracting a Moodle 1.9 backup zip file results in file names displayed as "?????????.doc"
      And restoring them into Moodle 2+ legacy course_files results in file names displayed as "╫¬╫ץ╫¿╫¬_╫פ╫פ╫ע╫פ.doc"
      English filenames restore correctly.

      I am attaching a Moodle 1.9 backup file for testing

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda (Inactive)
              nadavkav Nadav Kavalerchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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