Location: PHPKode > scripts > Charset to unicode translating > charset-to-unicode-translating/test.php
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>
<?
 # utf class example

require'utf8.php';
$utf=new utf;
$utf->loadmap('cp1251.tab','cp');
# The next line may be corrupted... :(
echo $utf->cp2utf("Russian(CP1251): Ophber, lhp!!\n",'cp');
?>
</body>
Return current item: Charset to unicode translating