summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2010-06-02 18:31:53 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2010-06-02 18:31:53 +0000
commit33ae9de6f4a47885cad8ba3d99adb1e8bddbafc7 (patch)
tree4a311ddc777c6dfe1e8f213fc062ad1bb7749b7c /mail
parent- Restore i18n patch for Japanese filenames (diff)
- Really add patch this time
Notes
Notes: svn path=/head/; revision=255571
Diffstat (limited to 'mail')
-rw-r--r--mail/squirrelmail/files/patch-functions__i18n.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/squirrelmail/files/patch-functions__i18n.php b/mail/squirrelmail/files/patch-functions__i18n.php
new file mode 100644
index 000000000000..37dd90ed6b72
--- /dev/null
+++ b/mail/squirrelmail/files/patch-functions__i18n.php
@@ -0,0 +1,12 @@
+--- ./functions/i18n.php.orig 2010-06-02 11:26:40.000000000 -0400
++++ ./functions/i18n.php 2010-06-02 11:28:33.000000000 -0400
+@@ -683,7 +683,8 @@
+ $useragent = func_get_arg(2);
+ if (strstr($useragent, 'Windows') !== false ||
+ strstr($useragent, 'Mac_') !== false) {
+- $ret = mb_convert_encoding($ret, 'SJIS', 'AUTO');
++ $ret = mb_convert_encoding($ret, 'UTF-8', 'AUTO');
++
+ } else {
+ $ret = mb_convert_encoding($ret, 'EUC-JP', 'AUTO');
+ }