aboutsummaryrefslogtreecommitdiff
path: root/www/horde3-base/files/extra-patch-lib_Horde_NLS.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/horde3-base/files/extra-patch-lib_Horde_NLS.php')
-rw-r--r--www/horde3-base/files/extra-patch-lib_Horde_NLS.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/horde3-base/files/extra-patch-lib_Horde_NLS.php b/www/horde3-base/files/extra-patch-lib_Horde_NLS.php
new file mode 100644
index 000000000000..96eff63ba486
--- /dev/null
+++ b/www/horde3-base/files/extra-patch-lib_Horde_NLS.php
@@ -0,0 +1,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);