NAME

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

SYNOPSIS

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;

DESCRIPTION

Win32::Unicode::Console provides Unicode String to console out. This module is by default printW and warnW export functions.

This module PerlIO-proof. However, when the file is redirected to the CORE:: print and CORE:: warn switches.

FUNCTIONS

printW([$fh ,] @str)

Flagged utf8 string to console out. Like print.

printfW([$fh ,] @str)

Flagged utf8 string to console out. Like printf.

sayW([$fh ,] @str)

Flagged utf8 string to console out. Like Perl6 say.

warnW(@str)

Flagged utf8 string to console out. Like warn.

dieW(@str)

Flagged utf8 string to console out. Like die.

AUTHOR

Yuji Shimada <xaicron@cpan.org>

SEE ALSO

Win32::API