Project

General

Profile

« Previous | Next » 

Revision eb4682b3

Added by jeremyevans (Jeremy Evans) about 4 years ago

[ruby/reline] Only show dialogs if default external encoding is UTF-8

Fixes a crash in IRB if a dialog is displayed and the default
external encoding is not UTF-8:

/home/jeremy/tmp/reline/lib/reline/line_editor.rb:731:in `write': U+2588 from UTF-8 to US-ASCII (Encoding::UndefinedConversionError)

https://github.com/ruby/reline/commit/f570525ecd