Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

encoding issue for special characters in error page

Avatar

Level 3

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
1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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