mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-49259 lib: Fix for unzipped Japanese filename character corruption
This commit is contained in:
parent
95751e81ac
commit
6396b58e15
@ -656,6 +656,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 'EUC-JP':
|
||||
case 'UTF-8':
|
||||
if ($winchar = get_string('localewincharset', 'langconfig')) {
|
||||
// Most probably works only for zh_cn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user