diff options
| author | Beech Rintoul <beech@FreeBSD.org> | 2007-12-19 00:04:50 +0000 |
|---|---|---|
| committer | Beech Rintoul <beech@FreeBSD.org> | 2007-12-19 00:04:50 +0000 |
| commit | d4f17c6e1a9a4af46bc40cefe30f13c2ccbbd37a (patch) | |
| tree | 9d01a6badedafa8d00b115c3f598ccf8d72ba544 /www/horde4-base/files/patch-lib_Horde_NLS.php | |
| parent | - Update to 3.0-RC1 (diff) | |
- Fix bug "isspace broken for UTF-8 locales."
Causes Japanese characters to display improperly.
PR: ports/116363
Submitted by: Hiromi Kimura <hiromi@tac.tsukuba.ac.jp>
Approved by: linimon (mentor)
Diffstat (limited to 'www/horde4-base/files/patch-lib_Horde_NLS.php')
| -rw-r--r-- | www/horde4-base/files/patch-lib_Horde_NLS.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/horde4-base/files/patch-lib_Horde_NLS.php b/www/horde4-base/files/patch-lib_Horde_NLS.php new file mode 100644 index 000000000000..8e157c276647 --- /dev/null +++ b/www/horde4-base/files/patch-lib_Horde_NLS.php @@ -0,0 +1,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); + } |
