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
आपके इनबॉकà¥à¤¸ में 36 संदेश है.जिसमे आपने 4 नहीं पà¥à¥‡ है
My Code is ..
<?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);
}
?>
<form method="POST" action="<?php $_SERVER['PHP_SELF'];?>">
<select name="lang">
<option value="hindi">Hindi</option>
<option value="english">English</option>
</select>
<input type="submit"/>
</form>