From e2f605d44dcc780c03a8309001d21ee9e245a603 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 04 Sep 2015 04:13:25 -0400
Subject: [PATCH] Fallback to C locale

---
 program/include/rcmail.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index d979fee..a7c5a91 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -182,7 +182,7 @@
         // Also strtoupper/strtolower and other methods are locale-aware
         // for these locales it is problematic (#1490519)
         if (in_array($lang, array('tr_TR', 'ku', 'az_AZ'))) {
-            setlocale(LC_CTYPE, 'en_US.utf8', 'en_US.UTF-8');
+            setlocale(LC_CTYPE, 'en_US.utf8', 'en_US.UTF-8', 'C');
         }
     }
 

--
Gitblit v1.9.1