mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
rtf seems to user iso-8859-1 or equivalent windows charset, not utf-8
This commit is contained in:
parent
aeef70486f
commit
becd608ce9
@ -1038,6 +1038,11 @@ abstract class Merge
|
|||||||
$charset = 'utf-8'; // xml files --> always use utf-8
|
$charset = 'utf-8'; // xml files --> always use utf-8
|
||||||
break;
|
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':
|
case 'text/html':
|
||||||
$is_xml = true;
|
$is_xml = true;
|
||||||
$matches = null;
|
$matches = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user