RE: Unicode native scripting language?

Date: Wed Jan 18 2006 - 10:19:45 CST

  • Next message: Edward Trager: "Re: Unicode native scripting language?"

    And Perl...

    use utf8;
    $hello = "你好";
    printf "%04X, %04X, %s\n", unpack('U*',$hello), $hello;
    $你好 = "hello";
    printf "$你好\n";

    giving output:

    4F60, 597D, 你好

    (Apologies in advance if my mail client fails to encode this message
    properly, but you get the idea anyway).


    This archive was generated by hypermail 2.1.5 : Wed Jan 18 2006 - 10:27:17 CST