From: "naruse (Yui NARUSE)" Date: 2012-12-12T00:59:04+09:00 Subject: [ruby-core:50768] [ruby-trunk - Bug #7544][Rejected] Accented characters in IRB Issue #7544 has been updated by naruse (Yui NARUSE). Status changed from Open to Rejected cfabianski (C��dric FABIANSKI) wrote: > Starting from Ruby 1.9.3 Patchlevel 0 the accented characters are not well handled into IRB > > >> RUBY_VERSION > => "1.9.3" > >> RUBY_PATCHLEVEL > => 0 > >> puts "C��dric" > C��dric > => nil > > >> RUBY_VERSION > => "1.9.3" > >> RUBY_PATCHLEVEL > => 327 > => puts "C\U+FFC3\U+FFA9dric" > Cdric > => nil > > Note : "\U+FFC3\U+FFA9" is what I'm getting when I try to enter "��" It should be puts "C\u00e9dric" ---------------------------------------- Bug #7544: Accented characters in IRB https://bugs.ruby-lang.org/issues/7544#change-34619 Author: cfabianski (C��dric FABIANSKI) Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin11.4.2] Starting from Ruby 1.9.3 Patchlevel 0 the accented characters are not well handled into IRB >> RUBY_VERSION => "1.9.3" >> RUBY_PATCHLEVEL => 0 >> puts "C��dric" C��dric => nil >> RUBY_VERSION => "1.9.3" >> RUBY_PATCHLEVEL => 327 => puts "C\U+FFC3\U+FFA9dric" Cdric => nil Note : "\U+FFC3\U+FFA9" is what I'm getting when I try to enter "��" -- http://bugs.ruby-lang.org/