title: jsp pages displaying junk characters in non english languages
body: <p>I have a Main JSP page say jsp1 which includes two JSP pages (jsp2, jsp3). All the strings in these pages come from property files.</p>
  
  <p>The non-english property files are converted using native2ascii</p>
  
  <p>native2ascii –encoding="8859-1" lang.properties lang1.properties</p>
  
  <p>All the JSP pages have 
  &lt;%@ page contentType="text/html;charset=UTF-8" language="java" %></p>
  
  <p>Now when main jsp page(jsp1) gets displayed, we see garbled characters in a few strings of jsp2 and jsp3. Till now I have seen this happening to Russian, Korean, Japanese language strings. And it happens on a random string. </p>
  
  <p>Does any one have an idea what could be wrong</p>
  
  <p><strong>Updating with more details</strong></p>
  
  <p>The string in rus_utf8.proeperties is</p>
  
  <p><code>Щелкните &lt;strong&gt;УСТАНОВИТЬ СЕЙЧАС&lt;/strong&gt; и сохраните файл в некотором расположении</code></p>
  
  <p>After Conversion using native2Ascii, String in rus.properties is</p>
  
  <p><code>\u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 &lt;strong&gt;\u0423\u0421\u0422\u0410\u041d\u041e\u0412\u0418\u0422\u042c \u0421\u0415\u0419\u0427\u0410\u0421&lt;/strong&gt; \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438.</code></p>
  
  <p>In JSP we use struts <code>&lt;s:text&gt;</code> to load the string from property file</p>
  
  <p>In firefox the string got displayed as </p>
  
  <p><code>��елкните УСТАНОВИТЬ СЕЙЧАС и сохраните файл в некотором расположении.</code></p>
  
  <p>The char <code>Щ</code> got garbled. Same String in some other place in the page got displayed properly. </p>