Merge branch 'MDL-59005-master' of git://github.com/lameze/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 20 Jun 2017 08:51:50 +0000 (09:51 +0100)
committerDan Poltawski <dan@moodle.com>
Tue, 20 Jun 2017 08:51:50 +0000 (09:51 +0100)
lib/filestorage/zip_archive.php

index b7d0fd6..2131314 100644 (file)
@@ -662,6 +662,7 @@ class zip_archive extends file_archive {
                             case 'ISO-8859-6': $encoding = 'CP720'; break;
                             case 'ISO-8859-7': $encoding = 'CP737'; break;
                             case 'ISO-8859-8': $encoding = 'CP862'; break;
+                            case 'WINDOWS-1251': $encoding = 'CP866'; break;
                             case 'EUC-JP':
                             case 'UTF-8':
                                 if ($winchar = get_string('localewincharset', 'langconfig')) {