summaryrefslogtreecommitdiff
path: root/www/horde4-base/files/extra-patch-lib_Horde_NLS.php
blob: 96eff63ba48629e8641d399971599f42d19162f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- lib/Horde/NLS.php.orig	2009-09-14 10:08:48.000000000 +0000
+++ lib/Horde/NLS.php	2009-09-28 18:06:58.000000000 +0000
@@ -133,6 +133,11 @@
             }
         }
 
+	/* avoid FreeBSD issapce(3) bug */
+	if(NLS::getCharset() == "UTF-8"){
+		setlocale(LC_CTYPE,"C");
+	}
+
         @putenv('LC_ALL=' . $lang_charset);
         @putenv('LANG=' . $lang_charset);
         @putenv('LANGUAGE=' . $lang_charset);