<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Console > Console_SetOutputCP |
Description
Sets the output code page used by the console associated with the calling process.
A console uses its output code page to translate the character values written by the various output functions into the images displayed in the console window.
Syntax
CP = Console_SetOutputCP(CodePage)
Returns
Return CP code
Parameters
Name |
Type |
Optional |
Meaning |
CodePage |
Numeric |
No |
Numeric value representing Code Page. See http://en.wikipedia.org/wiki/Code_page for more info about Code Page codes. |
Remarks
More info about Console Code Page can be found at: http://msdn.microsoft.com/en-us/library/ms682064(VS.85).aspx
Restrictions
See also
Examples
Uses "console"
Console_SetOutputCP(%CP_UTF8)