1) Ben indirilen ve CODE2000 adında bir unicode yazı tipini
2) Ben bu yazdı:
<?php header('Content-Type: text/html;charset=utf-8'); ?>
<head></head>
<body style="font-family: CODE2000">
<?php
// I had to remove some strings like ': ', 'DVD', 'CD' to make it in \uXXXX format
$s = '\u5353\u8d8a\u4e9a\u9a6c\u900a\u7f51\u4e0a\u8d2d\u7269\u5728\u7ebf\u9500\u552e\u56fe\u4e66\uff0c\uff0c\uff0c\u6570\u7801\uff0c\u73a9\u5177\uff0c\u5bb6\u5c45\uff0c\u5316\u5986';
$chars = explode('\\u', $s);
foreach ($chars as $char) {
$c = iconv('utf-16', 'utf-8', hex2str($char));
print $c;
}
function hex2str($hex) {
$r = '';
for ($i = 0; $i < strlen($hex) - 1; $i += 2)
$r .= chr(hexdec($hex[$i] . $hex[$i + 1]));
return $r;
}
?>
</body>
</html>
3) Bu 2 bir (8d8a) iken which could be correct. E.g. the 1st character (5353) is indeed this bu üretilen this. Tabii ki% 100 emin olamaz ama uygun görünüyor. Belki buradan alabilir.
Bu iyi bir egzersiz oldu :)