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