Browse Source

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

Tyler Akins 24 năm trước cách đây
mục cha
commit
15efc1a7bd
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      functions/i18n.php

+ 2 - 0
functions/i18n.php

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