소스 검색

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;
    }