aboutsummaryrefslogtreecommitdiffstats
path: root/main/hylafax/hylafax-charset.patch
blob: e9d6a93a3c021bf7e392ca8d64c2a94b09070775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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