mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Always use UTF-8 for Reline::GeneralIO on Windows
This commit is contained in:
parent
8f4beec152
commit
c257d81186
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require 'timeout'
|
|||
|
||||
class Reline::GeneralIO
|
||||
def self.encoding
|
||||
Encoding.default_external
|
||||
RUBY_PLATFORM =~ /mswin|mingw/ ? Encoding::UTF_8 : Encoding::default_external
|
||||
end
|
||||
|
||||
RAW_KEYSTROKE_CONFIG = {}
|
||||
|
|
Loading…
Reference in a new issue