mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-59005 resource: fixed zip extraction for filenames in CP-1251/CP-866
This commit is contained in:
parent
6bb80a1917
commit
ff2dab4566
@ -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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user