From b800493aa251ae7114519a494af6590b51b3c68e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 Nov 2009 13:10:49 +0000 Subject: [PATCH] "application/xml need to be treated like xml: utf-8 encoded and encoding <>&" --- etemplate/inc/class.bo_merge.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index dec34b4fb7..85a5005c67 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -450,6 +450,7 @@ abstract class bo_merge case 'application/vnd.oasis.opendocument.spreadsheet': case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007 case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': + case 'application/xml': case 'text/xml': $is_xml = true; $charset = 'utf-8'; // xml files --> always use utf-8