-
Bug
-
Resolution: Fixed
-
Major
-
2.5.9, 2.6.8, 2.7.5, 2.8.3
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
master
-
Easy
-
When we unzip Windows zipped files with Japanese filename on "My private files" area, the filename will be corrupted.
To avoid this issue, we need to add one line to lib/filestorage/zip_archive.php as below.
Filename:
lib/filestorage/zip_archive.php
Line:
658
[ before ]
case 'ISO-8859-8': $encoding = 'CP862'; break;
case 'UTF-8':
[ After ]
case 'ISO-8859-8': $encoding = 'CP862'; break;
case 'EUC-JP':
case 'UTF-8':