The default character encoding for SiteMesh is ISO-8859-1. Also, SiteMesh assumes that the underlying servlet container encoding is also configured to ISO-8859-1.
To support an international market, you can switch to the new standard UTF-8.
The process of using UTF-8 requires some adjustments to SiteMesh and possibly adjustments to the following layers,
- Servlet Container
- Server Operating System
- Server Database if one is being used
Following this tutorial it will be clearly evident if UTF-8 is working. As such, we will stop at each step to see the results of our changes. It may be the case that the other layers already default to UTF-8.
Create a UTF-8 Web Page