Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Encoding issue in invalid pages


Level 2

Hi Folks,

I am using ACS Commons for error handling.We have multilingual site and when we try to open invalid page it is redirecting to 404 content but we are getting encoding issues for special charters and also for other languages.I see the response headers for the 404 get



I added utf-8 encoding in jsp files and also checked osgi configuration to see default set to utf-8.Did i miss anything?

Thanks an in advance!

2 Replies


Level 4

Is the behavior same with 404s via publish instance? you might also want to check the default encoding on the Apache web-server as well


# Specify a default charset for all content served; this enables

# interpretation of all content as UTF-8 by default.  To use the

# default browser choice (ISO-8859-1), or to allow the META tags

# in HTML content to override this choice, comment out this

# directive:


AddDefaultCharset UTF-8


Level 2

Hi Bharath,

Yes this is happening in Publish instance also.This is happening for only invalid pages all other pages are working fine.