aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2010-06-03 02:31:53 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2010-06-03 02:31:53 +0800
commita59570f135d11d07a12a99db56d4a8f22737a99a (patch)
treec4b5065ee1473649745b20b20b715451aa4b37ef /mail
parentbf3b3e01fabab4afc8e7e9e32eac4400934825d3 (diff)
downloadfreebsd-ports-gnome-a59570f135d11d07a12a99db56d4a8f22737a99a.tar.gz
freebsd-ports-gnome-a59570f135d11d07a12a99db56d4a8f22737a99a.tar.zst
freebsd-ports-gnome-a59570f135d11d07a12a99db56d4a8f22737a99a.zip
- Really add patch this time
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');
+ }