"application/xml need to be treated like xml: utf-8 encoded and encoding <>&"

This commit is contained in:
Ralf Becker 2009-11-03 13:10:49 +00:00
parent 86d9470719
commit b800493aa2

View File

@ -450,6 +450,7 @@ abstract class bo_merge
case 'application/vnd.oasis.opendocument.spreadsheet': case 'application/vnd.oasis.opendocument.spreadsheet':
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007 case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
case 'application/xml':
case 'text/xml': case 'text/xml':
$is_xml = true; $is_xml = true;
$charset = 'utf-8'; // xml files --> always use utf-8 $charset = 'utf-8'; // xml files --> always use utf-8