non latin - charset support for downloaded html files

Description

problem: no latin charsets are not properly displayed when user download html report
solution: add <meta charset="UTF-8"> to generated html file generated by reporting

<head>
<meta charset="UTF-8">
</head>

:

Environment

None

Attachments

3
  • 11 Nov 2015, 03:11 PM
  • 10 Nov 2015, 02:49 PM
  • 09 Nov 2015, 05:28 PM

Activity

Show:

Hiep Lq November 11, 2015 at 3:26 PM

, agree with you. i just don't think about your case, thanks.

Carlos Ruiz November 11, 2015 at 3:13 PM

, based on your patch I tested the attached IDEMPIERE-2932_PR.patch successfully.

The minor difference is that I removed the if condition - when you run a report the HTML link is shown below, if you open that link and save that HTML then the same issue happens opening that file in another browser.

Without the if the charset is defined in both - exporting and in viewer.

WDYT?

Regards,

Carlos Ruiz

Hiep Lq November 10, 2015 at 2:49 PM

Hi , please retest it.

Fixed

Details

Assignee

Reporter

Labels

Priority

Created November 9, 2015 at 5:27 PM
Updated January 4, 2016 at 10:38 AM
Resolved November 11, 2015 at 3:45 PM