alecpl
2008-11-16 14de18d5f4636ca86ed8cac4c8c725e07bd2ff79
- Fix setting locale to tr_TR, ku and az_AZ (#1485470)


2 files modified
5 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcmail.php 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -4,6 +4,7 @@
2008/11/15 (alec)
----------
- Fix big memory consumption and speed up searching on servers without SORT capability
- Fix setting locale to tr_TR, ku and az_AZ (#1485470)
2008/11/12 (alec)
----------
program/include/rcmail.php
@@ -171,6 +171,10 @@
    // set localization
    setlocale(LC_ALL, $_SESSION['language'] . '.utf8', 'en_US.utf8');
    // workaround for http://bugs.php.net/bug.php?id=18556
    if (in_array($_SESSION['language'], array('tr_TR', 'ku', 'az_AZ')))
      setlocale(LC_CTYPE, 'en_US' . '.utf8');
  }