1
0
Fork 0
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:
aycabta 2020-01-26 12:55:13 +09:00
parent 8f4beec152
commit c257d81186

View file

@ -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 = {}