mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Encode completed strings corecctly
This commit is contained in:
parent
3e54ff67e6
commit
d390af3686
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module IRB
|
|||
BASIC_WORD_BREAK_CHARACTERS = " \t\n`><=;|&{("
|
||||
|
||||
CompletionProc = proc { |input|
|
||||
retrieve_completion_data(input)
|
||||
retrieve_completion_data(input).compact.map{ |i| i.encode(Encoding.default_external) }
|
||||
}
|
||||
|
||||
def self.retrieve_completion_data(input, doc_namespace = false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue