Hey, everyone...
I am a newbie in PHP...
And my problem is that...

Now, I have many many unicde numbers for chinese character...
and then...

I want to out put them as chinese character....
How can I do....???

Such as, I have the number in hexidecmial, 4E00, representing the meaing is "one" in chinese character....

I want to output it on the page....???
Can anyone help me...???

Thanks for your attention...

    In the long run you'd probably be wanting to use the multibyte functions (particularly, [man]mb_convert_encoding[/man] to convert between UCS-4 and UTF-8; which, incidentally, could do a whole string instead of just individual characters).

    mb_convert_encoding($string, 'UTF-8', 'UCS-4');

    I might have some C code for doing the convertion lying around here. Maybe I'll port it to PHP.

      Thanks for you reply...
      But...
      Does Mutli-byte need to enable or not???

        Yes...By the way...

        My situation is:
        I have the Unicode of a speicial Chinese character, such as "4E00" representing the number "1" in Chinese....

        I want to print the Chinese "1" out by using the Unicode I have had...

        Yes, just like that....

        I working on it the whole night...
        But still fail...

        Can anyone help me???

        Best regards,
        Jacky

        Thank you for your attention

          Write a Reply...