[ruby-core:124143] [Ruby Feature#20959] Add a way to get codepage of console.