From: fidian Date: Fri, 27 Jul 2001 21:17:42 +0000 (+0000) Subject: Added windows-1251 charset patch from Alex Antropoff git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1457 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/i18n.php b/functions/i18n.php index b9c73814..f5dc42f8 100644 --- a/functions/i18n.php +++ b/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; }