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

Select filenames encoding on unzip

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
      git@github.com:vadimonus/moodle.git
    • Pull Master Branch:
    • Testing Instructions:
      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

              Assignee:
              marina Marina Glancy
              Reporter:
              vadimon Vadim Dvorovenko
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12