From: Magnus Holm Date: 2012-12-12T03:12:42+09:00 Subject: [ruby-core:50780] Re: [ruby-trunk - Bug #7544][Rejected] Accented characters in IRB On Tue, Dec 11, 2012 at 4:59 PM, naruse (Yui NARUSE) wrote: > > 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" I tihnk you're misundestanding this issue. If I type "��" in an IRB session this is inserted instead: "\U+FFC3\U+FFA6". It just magically appears. But it doesn't seem to be actual characters that IRB sees. I only need to press backspace *twice* to get rid of everything. And if I press Enter, it just gets ignored by IRB.