include BOM in attachment when sending csv civireport via mail_report job
[civicrm-core.git] / tests / phpunit / CRM / Report / Utils / ReportTest.php
index 68326f7cdb01ed261db2636c6ff9b823b6d6c5dd..729e3ab7ef15715408c38bc2c51c6a130799464a 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Report_Utils_ReportTest extends CiviUnitTestCase {
 ENDDETAILS;
 
     $expectedOutput = <<<ENDOUTPUT
-"Activity Type","Subject","Activity Details"\r
+\xEF\xBB\xBF"Activity Type","Subject","Activity Details"\r
 "Meeting","Meeting with the apostrophe's and that person who does ""air quotes"". Some non-ascii characters: дè","Here's some typical data from an activity details field.
   
 дè some non-ascii and html styling and these ̋“weird” quotes’s.