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.
Print reports (doc) encoding problem in version 1.3.0
Moderators: Developer, Contributor
Print reports (doc) encoding problem in version 1.3.0
---------------------------
Mantis: 1.3.0
PHP: 5.4.39
SQL: MySQL 5.5.41
OS: Linux Debian 7
Mantis: 1.3.0
PHP: 5.4.39
SQL: MySQL 5.5.41
OS: Linux Debian 7
Re: Print reports (doc) encoding problem in version 1.3.0
We still have no clue on how to fix this after a couple of months. Does anybody know at least of a workaround for this or anything we could try?
Thank you very much!
Thank you very much!
---------------------------
Mantis: 1.3.0
PHP: 5.4.39
SQL: MySQL 5.5.41
OS: Linux Debian 7
Mantis: 1.3.0
PHP: 5.4.39
SQL: MySQL 5.5.41
OS: Linux Debian 7
Re: Print reports (doc) encoding problem in version 1.3.0
Try the patch attached to http://www.mantisbt.org/bugs/view.php?id=22103
Re: Print reports (doc) encoding problem in version 1.3.0
That did the trick, thank your very much! I hope this patch gets to the master branch so we won´t have to repatch after upgrade.atrol wrote:Try the patch attached to http://www.mantisbt.org/bugs/view.php?id=22103
Thanks again
---------------------------
Mantis: 1.3.0
PHP: 5.4.39
SQL: MySQL 5.5.41
OS: Linux Debian 7
Mantis: 1.3.0
PHP: 5.4.39
SQL: MySQL 5.5.41
OS: Linux Debian 7
Re: Print reports (doc) encoding problem in version 1.3.0
It's part of standard Mantis starting with 1.3.6 and 2.2.1 http://www.mantisbt.org/bugs/view.php?id=21798eortiz wrote:I hope this patch gets to the master branch so we won´t have to repatch after upgrade.