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

Select filenames encoding on unzip

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • git@github.com:vadimonus/moodle.git
    • Hide

      Two example files assigned. Filename in archive should look as archive name. Set ('oldcharset', 'langconfig') to CP866 for testing

      Show
      Two example files assigned. Filename in archive should look as archive name. Set ('oldcharset', 'langconfig') to CP866 for testing

    Description

      Ability to select encoding of filenames in archive when unzipping them in draftsfilemanager.
      This only refers to zip-files containing non-latin characters in filenames.
      Now only zip-files encoded in utf-8 are unzipped correctly, disabling Windows users where archives uses in most cases other encodings.
      Pathces applyed creates dialog for selecting encoding only if archive contatins filenames whit characters numbers >127. Only encodings that can be be used for correct decoding, are listed. For normal work string ('oldcharset', 'langconfig') should be set to windows filesystem encodigng, e.g. "cp866" for russian windows

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              vadimon Vadim Dvorovenko
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12