Password Reset Template is not internationalized

Bug #805971 reported by Liam Whalen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Dan Scott

Bug Description

Evergreen 2.0.6
OpenSRF 1.6.3
PostgreSQL 9.0
Ubuntu 10.0.4.2

The file /openils/var/template/password-reset/reset-form.tt2 does not display utf-8 characters. I modified it to include
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />' inside the <head> tag, and the fr-CA version of the page now displays correctly. However, I am not sure if this is the proper way of forcing the browser to use UTF-8 characters.

Revision history for this message
Dan Scott (denials) wrote :

That's exactly the right thing to do. Encoding detection does depend on the browser (e.g. Chromium defaults to UTF8 these days) and web server (may be configured to send an encoding header) but having the meta tag in place certainly helps.

I'll fix this up for each of the password-reset templates. Thanks Liam!

Changed in evergreen:
status: New → Confirmed
assignee: nobody → Dan Scott (denials)
importance: Undecided → High
Revision history for this message
Dan Scott (denials) wrote :
Changed in evergreen:
status: Confirmed → Fix Committed
milestone: none → 2.0.8
Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.