[PerlChina] about unicode
Dongxu Ma
dongxu.ma at gmail.com
Mon Dec 12 22:52:48 PST 2005
See L<perlre|perldoc perlre> L<open|perldoc -f open> L<binmode|perldoc -f
binmode>
C<< binmode FH, qq(:UTF16); >> before read or
C<< open FH, "<:UTF16", "<file>"; >> directly
Regarding unicode support in reg, consalt x{blah} and p{blah} series.
current default unicode implementation in Perl is utf8.
good luck
On 12/13/05, 黄叶 <hylinux at gmail.com> wrote:
>
> Thanks.
>
> and when I use the regex, whether i will take care of the file's coding?
>
>
>
> _______________________________________________
> 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〓o〓!〓〓〓
More information about the China-pm
mailing list