title: Spring+SiteMesh 2.0 Chinese character support
body: <p>I use spring3.0 and sitemesh2.0.The issue is am not able to display chinese characters in my jsp page.</p>
  
  <p>I have done the following</p>
  
  <p>web.xml</p>
  
  <pre><code>&lt;filter&gt;     
          &lt;filter-name&gt;charsetFilter&lt;/filter-name&gt;     
          &lt;filter-class&gt;org.springframework.web.filter.CharacterEncodingFilter&lt;/filter-class&gt;     
          &lt;init-param&gt;         
              &lt;param-name&gt;encoding&lt;/param-name&gt;         
              &lt;param-value&gt;UTF-8&lt;/param-value&gt;     
          &lt;/init-param&gt; 
          &lt;init-param&gt;             
              &lt;param-name&gt;forceEncoding&lt;/param-name&gt;             
              &lt;param-value&gt;true&lt;/param-value&gt;         
          &lt;/init-param&gt; 
      &lt;/filter&gt;  
      &lt;filter-mapping&gt;     
          &lt;filter-name&gt;charsetFilter&lt;/filter-name&gt;     
          &lt;url-pattern&gt;*.do&lt;/url-pattern&gt; 
      &lt;/filter-mapping&gt; 
      &lt;filter&gt;
  </code></pre>
  
  <p>In my jsp:</p>
  
  <pre><code>&lt;%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%&gt;
  </code></pre>
  
  <p>In sitemesh template:</p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  </code></pre>
  
  <p>sitemesh.xml:</p>
  
  <pre><code>&lt;sitemesh&gt;
      &lt;property name="decorators-file" value="/WEB-INF/decorators.xml" /&gt;
      &lt;excludes file="${decorators-file}" /&gt;
  
      &lt;page-parsers&gt;
          &lt;parser content-type="text/html"
              class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" /&gt;
          &lt;parser content-type="text/html;charset=UTF-8"
              class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" /&gt;
      &lt;/page-parsers&gt;
  
      &lt;decorator-mappers&gt;
          &lt;mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper"&gt;
              &lt;param name="config" value="${decorators-file}" /&gt;
          &lt;/mapper&gt;
      &lt;/decorator-mappers&gt;
  &lt;/sitemesh&gt;
  </code></pre>
  
  <p>But still the chinese characters are displayed like this:
  å®å¾½çä½³å®ç©å·(éå¢)æéå¬å¸</p>
  
  <p>Thanks in advance.</p>