mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
e54d1e99e9
commit
31332cf469
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ module IRB
|
||||||
ret = conv.primitive_convert(str, dst)
|
ret = conv.primitive_convert(str, dst)
|
||||||
case ret
|
case ret
|
||||||
when :invalid_byte_sequence
|
when :invalid_byte_sequence
|
||||||
conv.insert_output(conf.primitive_errinfo[3].dump[1..-2])
|
conv.insert_output(conv.primitive_errinfo[3].dump[1..-2])
|
||||||
redo
|
redo
|
||||||
when :undefined_conversion
|
when :undefined_conversion
|
||||||
c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1])
|
c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue