Fix a typo and the right code for capital S with caron
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 11 Mar 2002 19:11:09 +0000 (19:11 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 11 Mar 2002 19:11:09 +0000 (19:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2568 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/i18n.php

index d533588c32ca233a8962bc57d2108b7db7bfdb7f..1cbb8d05c5c432b587f2e06f52ebaebc3322d06a 100644 (file)
@@ -466,7 +466,7 @@ function charset_decode_iso_8859_15 ($string) {
     // Euro sign
     $string = str_replace ("\244", '&#8364;', $string);
     // Latin capital letter S with caron
-    $string = str_replace ("\244", '&#352;', $string);
+    $string = str_replace ("\246", '&#352;', $string);
     // Latin small letter s with caron
     $string = str_replace ("\250", '&#353;', $string);
     // Latin capital letter Z with caron
@@ -483,7 +483,7 @@ function charset_decode_iso_8859_15 ($string) {
     return (charset_decode_iso_8859_1($string));
 }
 
-/* ISO-8859-15 is Cyrillic */
+/* ISO-8859-5 is Cyrillic */
 function charset_decode_iso_8859_5 ($string) {
     // Convert to KOI8-R, then return this decoded.
     $string = convert_cyr_string($string, 'i', 'k');