diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-11-16 08:53:10 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-11-16 08:53:10 +0000 |
| commit | 6d61bcf8ebf6e583a3d6eebd927a8da855d49805 (patch) | |
| tree | 51faaf64260654764e6e95db05cb9e002075ba7b /roundcubemail/program/include | |
| parent | c90ef76ef3ab75ffdf2df3f574956f9e02a8f20f (diff) | |
- Fix setting locale to tr_TR, ku and az_AZ (#1485470)
git-svn-id: https://svn.roundcube.net/trunk@2060 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 7eade3223..9690d8d29 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -171,6 +171,10 @@ class rcmail // 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'); } |
