$cons->OutputCP([codepage])
cons
codepage
Gets or sets the output code page used by the console. Note that this doesn't apply to a console object, but to the standard output console. You may want to use the non-instantiated form to avoid confusion:
$codepage = Win32::Console::OutputCP(); Win32::Console::OutputCP(437);
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]