Always use UTF-8 for Reline::GeneralIO on Windows
This commit is contained in:
parent
8f4beec152
commit
c257d81186
@ -2,7 +2,7 @@ require 'timeout'
|
|||||||
|
|
||||||
class Reline::GeneralIO
|
class Reline::GeneralIO
|
||||||
def self.encoding
|
def self.encoding
|
||||||
Encoding.default_external
|
RUBY_PLATFORM =~ /mswin|mingw/ ? Encoding::UTF_8 : Encoding::default_external
|
||||||
end
|
end
|
||||||
|
|
||||||
RAW_KEYSTROKE_CONFIG = {}
|
RAW_KEYSTROKE_CONFIG = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user