title: How to use Regional Language in PHP/HTML
body: <p>I am running following code to select and change text language. But When I am selecting my regional language then Its showing something like this. You can see the example here</p>
  
  <p><a href="http://www.hlinker.com/php6/" rel="nofollow">Example Link</a></p>
  
  <pre><code>à¤†à¤ªà¤•à¥‡ à¤‡à¤¨à¤¬à¥‰à¤•à¥à¤¸ à¤®à¥‡à¤‚ 36 à¤¸à¤‚à¤¦à¥‡à¤¶ à¤¹à¥ˆ.à¤œà¤¿à¤¸à¤®à¥‡ à¤†à¤ªà¤¨à¥‡ 4 à¤¨à¤¹à¥€à¤‚ à¤ªà¥à¥‡ à¤¹à¥ˆ
  </code></pre>
  
  <p>My Code is ..</p>
  
  <pre><code>&lt;?php
  $lang=$_POST['lang'];
  if($lang=='hindi')
  {
  printf(file_get_contents("hindi.txt"),36,4);
  }
  if($lang=='english')
  {
  printf(file_get_contents("template.txt"),36,4);
  }
  ?&gt;
  &lt;form method="POST" action="&lt;?php $_SERVER['PHP_SELF'];?&gt;"&gt;
  &lt;select name="lang"&gt;
  &lt;option value="hindi"&gt;Hindi&lt;/option&gt;
  &lt;option value="english"&gt;English&lt;/option&gt;
  &lt;/select&gt;
  &lt;input type="submit"/&gt;
  &lt;/form&gt;
  </code></pre>