Browse Source

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

Tyler Akins 24 years ago
parent
commit
15efc1a7bd
1 changed files with 2 additions and 0 deletions
  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;
    }