[MGNLCACHE-230] Cache filter showing wrong special characters Created: 17/Jul/20  Updated: 01/Nov/22  Resolved: 22/Jul/20

Status: Closed
Project: Cache Modules
Component/s: None
Affects Version/s: 5.9.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: Cp1252
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive data.zip    
Issue Links:
relation
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Special characters shown up when user enable Cache Filter. Disabling cache or configure a bypass hides these special characters. This makes author and public site having different view on the same page.

Reproduce
Import sample data or creating pages having special characters in attached sample data.
Publish the page to see the differences between author and public views.

Expected
Have consistency view with or without cache filter enabled.

Workaround
Fixed by using the proper file encoding.

JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8"


 Comments   
Comment by Richard Gange [ 22/Jul/20 ]

Fixed by using the proper file encoding.

JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8"
Comment by Parag Pawar [ 26/Oct/22 ]

Thanks Richard,

The given solution worked as expected. I would request to include these in Magnolia document as well. I am assuming this is a common query for most of the website users. We can close this request now.

Regards,

Parag

Generated at Sun Feb 11 23:53:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.