浏览代码

Added windows-1251 charset patch from Alex Antropoff <alex at tirastel
dot md>

Tyler Akins 24 年之前
父节点
当前提交
15efc1a7bd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      functions/i18n.php

+ 2 - 0
functions/i18n.php

@@ -142,6 +142,8 @@
          return charset_decode_ns_4551_1 ($string);
       } else if ($charset == 'koi8-r') {
         return charset_decode_koi8r ($string);
+      } else if ($charset == 'windows-1251') {
+        return charset_decode_koi8r ($string);
       } else
          return $string;
    }