Issue #6262 has been updated by naruse (Yui NARUSE).

Status changed from Assigned to Closed


----------------------------------------
Bug #6262: [readline] reverse-i-search with multibyte chars
https://bugs.ruby-lang.org/issues/6262#change-27298

Author: no6v (Nobuhiro IMAI)
Status: Closed
Priority: Normal
Assignee: kouji (Kouji Takao)
Category: ext
Target version: 
ruby -v: ruby 2.0.0dev (2012-04-05 trunk 35241) [x86_64-linux]


=begin
篁ヤ?????????????C-r ?????????????ゃ?????絖????羝<????????ゃ?????????腴??菴???c?????障?????
IM ???篁???????с???????障?????????????ゃ?潟???<?潟?帥??泣?若???????????????с????????
絮ユ???罎?膣≪?с??????????????????????????????????с?????

 # encoding: UTF-8
 require "readline"
 
 RUBY_DESCRIPTION  # => "ruby 2.0.0dev (2012-04-05 trunk 35241) [x86_64-linux]"
 Readline::VERSION # => "6.2"
 IO.pipe do |r, w|
   Readline.input = r
   (w << "\cr???").reopen(IO::NULL)
   Readline.readline # => "\x81\x82"
 end

??<??帥???Emacs ????????????>????? xmpfilter ???絎?茵???????????

 # >> (reverse-i-search)`': \201^H\201\202

??????? raw-text ????c???\343 ????c????????c?????障?c???
??????????????????????????c?????障?????????????障?с??
=end



-- 
http://bugs.ruby-lang.org/