home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


OutputCP

$

cons


->OutputCP(
[

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