Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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.

ISO-8859-1 is generally intended for "Western European" languages. The Wikipedia contains a list of languages with complete coverage.

To support an international market, you can switch to the new standard UTF-8.

Icon

UTF-8 adoptions has been an ongoing transition. Case in point, many Operating Systems, Databases and of course Servlet Containers still default to ISO even though they fully support 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, make sure to test at each step. I may be the case that the other layers already default to UTF-8.

  • No labels