summaryrefslogtreecommitdiff
path: root/www/horde-base/files/patch-lib_Horde_NLS.php
blob: 8e157c276647a67ec14a83be4736bc638451de33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/Horde/NLS.php.orig	2007-09-29 07:22:46.000000000 -0800
+++ lib/Horde/NLS.php	2007-12-18 11:16:03.000000000 -0900
@@ -119,6 +119,10 @@
                 setlocale(LC_ALL, $lang_charset);
             }
         }
+ � � � �/* avoid FreeBSD issapce(3) bug */
+ � � � �if(NLS::getCharset() == "UTF-8"){
+ � � � � � �setlocale(LC_CTYPE,"C");
+ � � � �}
         @putenv('LANG=' . $lang_charset);
         @putenv('LANGUAGE=' . $lang_charset);
     }