encoding issue for special characters in error page | Community
Skip to main content
Level 3
October 16, 2015
Solved

encoding issue for special characters in error page

  • October 16, 2015
  • 2 replies
  • 757 views

On publish instance in 5.6.1

Hi ,

 
I am using the below error handler for 404 page
 
/apps/project/config.publish/com.adobe.acs.commons.errorpagehandler.impl.ErrorPageHandlerImpl
 
jcr:primaryType Name sling:OsgiConfig
cache.serve-authenticated Boolean true
cache.ttl Long 300
enabled Boolean true
error-page.system-path String /content/website/404
not-found.behavior String respond-with-404
 
 
 
 
 
works:-
When i hit an nonexistent  page 
 
say http://localhost:4503/content/geometrixx-outdoors/dd.html
 
it goes to the  error page /content/website/404 and here special chararctes 
 
come up ® correctly on the page
 
Problem:-
 
When i hit an nonexistent  page  without extension ".html"
 
say http://localhost:4503/content/geometrixx-outdoors/dd
 
it goes to the  error page /content/website/404 and here special chararctes  comes up as � instead of ® .
 
 
Please let me know how to solve the problem
 
Thanks
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by gopalKa

cant you just add a html extension if the url doesnt already have an extension?

2 replies

Level 3
October 16, 2015

Any inputs ????

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

cant you just add a html extension if the url doesnt already have an extension?