
Win32::Unicode::Console - Unicode string to console out

use Win32::Unicode::Console;
my $flaged_utf8_str = "I \x{2665} Perl";
printW $flaged_utf8_str;
printfW "[ %s ] :P", $flaged_utf8_str;
sayW $flaged_utf8_str;
warnW $flaged_utf8_str;
dieW $flaged_utf8_str;
# write file
printW $fh, $str;
printfW $fh, $str;
sayW $fh, $str;

Win32::Unicode::Console provides Unicode String to console out.
This module PerlIO-proof. However, when the file is redirected to the CORE:: print and CORE:: warn switches.

Flagged utf8 string to console out. Like print.
Flagged utf8 string to console out. Like printf.
Flagged utf8 string to console out. Like Perl6 say.
Flagged utf8 string to console out. Like warn.
Flagged utf8 string to console out. Like die.

Yuji Shimada <xaicron@cpan.org>


This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.