Bug when downloading Excel data containing 2-byte characters

Bug when downloading Excel data containing 2-byte characters

by Thomas Robb -
Number of replies: 0
Hi everyone,

There has been a long-standing bug that has caused corrupted downloads of files in Excel format if the file contained more than 70 records or so. This is due to the freeware PEAR module, included in Moodle, not being 2-byte complaint, and this module hasn't been updated since 2005, it seems.

At any rate, I've found a patch for it and would appreciate it if anyone who has experienced this problem would download the patched Workbook.php version found in Tracker report MDL-9911. The file gets placed in:

moodle/lib/pear/Spreadsheet/Excel/Writer/Workbook.php

If we don't hear about any problems in the next few days, the patch will probably be included in the current release (1.8) and in future versions.

I look forward to your feedback!

Cheers, Tom Robb, Kyoto