Changeset:
52e1df1932f1
https://sourceforge.net/p/mrbs/hg-code/ci/52e1df1932f13495ca410914da41ae9f6bdd28d9
Author:
Campbell Morrison <[email protected]>
Date:
Sat Feb 27 18:51:59 2016 +0000
Log message:
Changed the default character encoding for CSV files as the latest versions of
Excel now seem to recognise UTF-8 automatically.
diffstat:
web/systemdefaults.inc.php | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diffs (25 lines):
diff -r 538d31cb85e7 -r 52e1df1932f1 web/systemdefaults.inc.php
--- a/web/systemdefaults.inc.php Sat Feb 27 16:27:48 2016 +0000
+++ b/web/systemdefaults.inc.php Sat Feb 27 18:51:59 2016 +0000
@@ -1114,15 +1114,12 @@
// CSV charset
// Set the character set to be used for CSV files. If $csv_charset is not set
-// then CSV files are written using the MRBS default charset (utf-8). However
-// Microsoft Excel (at least up to Excel 2010 on Windows and 2011 on Mac) is
not
-// guaranteed to recognise utf-8, but does recognise utf-16, so the default
setting
-// for $csv_charset is 'utf-16'. Setting $csv_charset to 'utf-8' and $csv_bom
-// to TRUE (ie requiring MRBS to output a Byte Order Mark) will make Excel
-// 2010 on Windows, and maybe earlier versions, work.
-// But utf-8 with, or without, a BOM will not work on Excel 2011 for Mac.
-$csv_charset = 'utf-16';
-$csv_bom = TRUE;
+// then CSV files are written using the MRBS default charset (utf-8).
+// Earlier versions of Microsoft Excel (at least up to Excel 2010 on Windows
and 2011
+// on Mac) are not guaranteed to recognise utf-8, but do recognise utf-16, so
for those
+// versions try setting $csv_charset to 'utf-16' and $csv_bom to TRUE.
+$csv_charset = 'utf-8';
+$csv_bom = FALSE;
/*************
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits