Thomas Yan 写道:
'我' takes 2 bytes  '\0' takes 1 byte , so "我“ takes 3

Not right.This was not like C's char str[] form.
I think the origin ppl's words are in some encoding form like base64.
For me I got exactly 2 bytes.like,

perl -le 'print length("我")'
2

--
Jeff Pang
http://home.arcor.de/jeffpang/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to