rtf seems to user iso-8859-1 or equivalent windows charset, not utf-8

This commit is contained in:
Ralf Becker 2019-03-08 11:26:25 +01:00
parent aeef70486f
commit becd608ce9

View File

@ -1038,6 +1038,11 @@ abstract class Merge
$charset = 'utf-8'; // xml files --> always use utf-8
break;
case 'application/rtf':
case 'text/rtf':
$charset = 'iso-8859-1'; // rtf seems to user iso-8859-1 or equivalent windows charset, not utf-8
break;
case 'text/html':
$is_xml = true;
$matches = null;