I write following code to IRB console.
irb(main):001:0> puts "Japanese Character"
Then IRB console displays "????". IRB console should handle non-ascii character correctly.
My environment is following.
The same thing on FreeBSD Unix Box when using .irbrc with wirble gem which is configured to display color output. NB
console displays control characters in such configuration.
this was seen earlier and I had thought that it was due to lack of i18n support in ruby itself, at least version being
used in nb6.
please fix for nb6; this really is a p2 kind of issue since use of multibyte and nonascii
should be provided for users unless its a limiation of the underlying language.
please change back to p3 if it is a limitation of ruby/rails itself.
This is a bug in JRuby itself; the NetBeans IRB console simply creates an instance of JRuby's "TextAreaReadline" class,
which itself is manipulating a JTextComponent directly. It's unlikely we can fix this for 6.0.
Piter - regarding the color output escape codes, that's a separate issue (and will be fixed for 6.0) - I believe theres
a separate issue for it that Martin took over. Martin, do you have the id?
> Martin, do you have the id?
Should get fixed in 6.0 time frame.
since its problem with jruby itself, can we leave it open until we know
if its fixed in some later jruby that we will use for next netbeans ?
So is there a bug report filed against JRuby?
Since newly released JRuby 1.1RC2 still has this bug, I filed it. The fix seems to be carried over till the future JRuby
Thanks Yoko. Leaving this open as Ken suggested.