[jruby] Encoding error in jruby 9000
keithrbennett at gmail.com
Mon Jul 20 06:07:21 JST 2015
I just did this in irb using Jruby 126.96.36.199pre1:
:003 > puts "\u0033"
:004 > "\u0033".encoding
Maybe I’m misunderstanding, but could you post some minimal code that illustrates your problem?
> On Jul 19, 2015, at 4:11 PM, Rodrigo Botafogo <rodrigo at rodrigobotafogo.com> wrote:
> I´m getting the following error with jruby 9000 that works fine on jruby 1.7, when printing a String variable that is UTF-8 encoded. Is this a bug or should I do somenting with the string in order to get it printed?
> Encoding::CompatibilityError: inspected result must be ASCII only or use the default external encoding
> Rodrigo Botafogo
More information about the JRuby