Print reports (doc) encoding problem in version 1.3.0
Posted: 28 Sep 2016, 11:15
Hi all,
We recently upgraded our Mantis instance from version 1.2.14 to version 1.3.0. After a couple of weeks we realized that on Print Reports page (print_all_bug_page.php), when we export issues to a word document encoding of some characters is wrong (latin characters like accents for example, eg: á). It happens on fieds retrieved from DB (notes, description, etc) but also on localized field names (eg: Categoría -- Category).
Exporting to html format works as expected and shows all characters correctly encoded and in resulting html, headers show charset=utf-8.
We tested prior version 1.2.14 and .doc export works fine. Is there any configuration setting to set encoding for this? Is it some kind of regression?
I took a look at print_all_bug_page_word.php to see if there were differences relating to encoding and didn't see anything to mention.
Any help would be appreciated, thanks in advance.
We recently upgraded our Mantis instance from version 1.2.14 to version 1.3.0. After a couple of weeks we realized that on Print Reports page (print_all_bug_page.php), when we export issues to a word document encoding of some characters is wrong (latin characters like accents for example, eg: á). It happens on fieds retrieved from DB (notes, description, etc) but also on localized field names (eg: Categoría -- Category).
Exporting to html format works as expected and shows all characters correctly encoded and in resulting html, headers show charset=utf-8.
We tested prior version 1.2.14 and .doc export works fine. Is there any configuration setting to set encoding for this? Is it some kind of regression?
I took a look at print_all_bug_page_word.php to see if there were differences relating to encoding and didn't see anything to mention.
Any help would be appreciated, thanks in advance.