$ cons ->InputCP( [ codepage ] )
cons
codepage
Gets or sets the input code page used by the console. Note that this doesn't apply to a console object, but to the standard input console. This attribute is used by the Write method.
Write
Copyright © 2001 O'Reilly & Associates. All rights reserved.