[MAGNOLIA-5909] Set a LocalizationContext in javax.servlet.jsp.jstl.core.Config to ensure JSP reads message-bundle-files with same encoding (UTF-8) like freemarker Created: 05/Sep/14 Updated: 03/Oct/18 Resolved: 03/Oct/18 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.2.8, 5.3.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Date of First Response: | |||||
| Description |
|
Recently when testing some i18n-support for templating, i realized, that in freemarker-context, a properties-file is read with UTF-8 (see DefaultMessagesImpl#getBundle), but in JSP-context, JSTL expects ISO-8859-1 encoding. By plugging into the JSP i18n handling and delegate resolution into Magnolia code we can ensure both jsp and freemarker are reading the bundles with same encoding. |