Jen mlists 写道:
Hello,

I need to output contents with utf8 encoding in CGI scripts.
Can you tell me how to open STDOUT with utf8 support?Thanks you.

Hello,

Just do,
binmode(STDOUT, ":utf8");

see "perldoc perluniintro" for more details.

--
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