Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$str = "Hello world! æøå";
echo $str . "<br>";
echo convert_cyr_string($str,'w','a'); 
?> 
<p>In this example we convert a string from the character-set "w" (windows-1251) to "a" (x-cp866).</p>
</body>
</html>
Hello world! æøå
Hello world! �.��

In this example we convert a string from the character-set "w" (windows-1251) to "a" (x-cp866).