From: Bob_Hallissy@sil.org
Date: Wed Jan 18 2006 - 10:19:45 CST
And Perl...
use utf8;
$hello = "你好";
printf "%04X, %04X, %s\n", unpack('U*',$hello), $hello;
$你好 = "hello";
printf "$你好\n";
giving output:
4F60, 597D, 你好
hello
(Apologies in advance if my mail client fails to encode this message
properly, but you get the idea anyway).
Bob
This archive was generated by hypermail 2.1.5 : Wed Jan 18 2006 - 10:27:17 CST