[PerlChina] about unicode

Dongxu Ma dongxu.ma at gmail.com
Mon Dec 12 21:28:09 PST 2005


perldoc -f binmode
Good luck

On 12/13/05, Jennifer Garner <mlists.j at gmail.com> wrote:
>
> Quote:
> use Encode qw/encode decode/;
> print decode('UTF-16LE', $line);
>
> You are wrong at all.
> Seeing here pls:
> http://bbs.chinaunix.net/viewthread.php?tid=657861&extra=page%3D4
>
>
>
> On 12/13/05, Formalin Achilles <formalin14 at gmail.com> wrote:
> >
> > use Encode qw/encode decode/;
> > print decode('UTF-16LE', $line);
> >
> >
> > 2005/12/13, 黄叶 <hylinux at gmail.com>:
> > >
> > > I have work, parse a text file,
> > > the text file is unicode(UTF-16) code file.
> > >
> > > I use the module named IO::File, I can read it, but I don't use regex.
> > >
> > > please help me .
> > > How i convert the unicode(utf-16) String to locale?
> > >
> > > thanks.
> > >
> > >
> > >
> > > _______________________________________________
> > > China-pm mailing list
> > > China-pm at pm.org
> > > http://mail.pm.org/mailman/listinfo/china-pm
> > >
> >
> >
> >
> > --
> > ---------------------------
> > Achilles Xu
> > http://www.formalin14.org
> > _______________________________________________
> > China-pm mailing list
> > China-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/china-pm
> >
>
>
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>



--
Bst Rgrs, Dongxu
-------------- next part --------------
q〓〓〓〓〓!〓〓〓,r〓〓m〓〓m〓〓〓〓〓〓〓j+〓〓j)r〓j〓〓j〓r〓〓〓〓9〓w〓G〓M〓〓〓!〓〓M5〓〓


More information about the China-pm mailing list