aboutsummaryrefslogtreecommitdiffstats
path: root/main/hylafax/hylafax-charset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/hylafax/hylafax-charset.patch')
-rw-r--r--main/hylafax/hylafax-charset.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/hylafax/hylafax-charset.patch b/main/hylafax/hylafax-charset.patch
new file mode 100644
index 00000000000..e9d6a93a3c0
--- /dev/null
+++ b/main/hylafax/hylafax-charset.patch
@@ -0,0 +1,15 @@
+diff -ru hylafax-6.0.6.orig/faxmail/faxmail.c++ hylafax-6.0.6/faxmail/faxmail.c++
+--- hylafax-6.0.6.orig/faxmail/faxmail.c++ 2012-06-06 03:58:38.000000000 +0300
++++ hylafax-6.0.6/faxmail/faxmail.c++ 2018-01-09 09:11:28.918140061 +0200
+@@ -475,8 +475,8 @@
+ if (mime.parse(msg, emsg)) {
+ if (verbose)
+ mime.trace(stderr);
+- // XXX anything but us-ascii is treated as ISO-8859-1
+- setISO8859(mime.getCharset() != CS_USASCII);
++ // XXX treat everything as ISO-8859-1
++ setISO8859(true);
+
+ /*
+ * Check first for any external script/command to
+