MDL-49259 lib: Fix for unzipped Japanese filename character corruption

This commit is contained in:
Mitsuhiro Yoshida 2015-02-22 23:14:38 +09:00
parent 95751e81ac
commit 6396b58e15

View File

@ -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,