Re: Need help about unicode encoding with Perl !

From: Chris Jacobs (chris.jacobs@freeler.nl)
Date: Tue Sep 09 2003 - 09:43:07 EDT

  • Next message: John Delacour: "Re: Need help about unicode encoding with Perl !"

    > I just want to know how to convert the encode method.
    >
    > Such as:
    >
    > "中国人。" is a sentence in GBK code.
    > (1)how to convert it into unicode?
    > (2)and how to convert it back?
    > (3)if the user's OS is Japanese , how to convert the unicode message into
    Shift-JIS
    > as "中国人"?
    >
    > Thanks a lot!

    For Shift-JIS see::

    http://homepage1.nifty.com/nomenclator/perl/ShiftJIS-CP932-MapUTF.html



    This archive was generated by hypermail 2.1.5 : Tue Sep 09 2003 - 10:42:49 EDT