Fix truncateWithEntities() off by 5 and other oddities
[squirrelmail.git] / functions / i18n.php
index 834677345bd91c962417aff2c2bc72b7f86f0126..2c92f2ae18013109ecd69bec5e42845069f7f316 100644 (file)
@@ -466,8 +466,8 @@ if ( file_exists( SM_PATH . 'locale/pt_BR') ) {
 }
 if ( file_exists( SM_PATH . 'locale/ru_RU') ) {
     $languages['ru_RU']['NAME']    = 'Russian';
-    $languages['ru_RU']['CHARSET'] = 'koi8-r';
-    $languages['ru_RU']['LOCALE'] = 'ru_RU.KOI8-R';
+    $languages['ru_RU']['CHARSET'] = 'utf-8';
+    $languages['ru_RU']['LOCALE'] = 'ru_RU.UTF-8';
     $languages['ru']['ALIAS'] = 'ru_RU';
 }
 if ( file_exists( SM_PATH . 'locale/sr_YU') ) {