missing charset definition in html print outputs in TPAC
Bug #1624846 reported by
Eva Cerninakova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.10 |
Fix Released
|
Undecided
|
Unassigned | ||
2.11 |
Fix Released
|
Undecided
|
Unassigned | ||
2.9 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
"Non English" characters in print output in TPAC are not displayed correctly because of missing charset definition (tested in Evergren 2.10.5).
The problem applies to the TPAC templates
- openils/
- openils/
To solve the problem, it is necessary to add a charset definition
<meta charset="utf-8" />
to the HTML head section of both tt2 files.
Changed in evergreen: | |
status: | New → Confirmed |
tags: | added: encoding |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Changed in evergreen: | |
milestone: | 2.next → none |
To post a comment you must log in.
I checked this with Chrome 54.0.2840.27 beta (64-bit) and Firefox 48.0.1 on Linux, and was able to reproduce the problem on Firefox. It seems Chrome is defaulting to UTF-8 in the absence of any other declaration these days.
Great catch Eva! This is a fix we want as well; I've gone ahead and created a branch at http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbs/lp1624846_ print_charset_ header that implements the fix.