Fallback to C locale

pull/294/head
Aleksander Machniak 9 years ago
parent 3c29c7e858
commit e2f605d44d

@ -182,7 +182,7 @@ class rcmail extends rcube
// 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');
}
}

Loading…
Cancel
Save