JRuby

Not printing \XXX characters properly

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Incomplete
  • Affects Version/s: JRuby 1.0.0RC2
  • Fix Version/s: None
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Environment:
    OSX
  • Number of attachments :
    0

Description

Pointing the same app at the same database, but one using Ruby and one using JRuby:

Ruby ->
>> ConferenceSession.find(1043).speaker
=> "Rogier Hof en Daniël Steginga + Robert Bor"

JRuby =>
>> ConferenceSession.find(1043).speaker
=> "Rogier Hof en Dani\353l Steginga + Robert Bor"

The non-english character is misprinted.

Issue Links

Activity

Hide
Charles Oliver Nutter added a comment -

Unicode fixes for JRUBY-920 and JRUBY-928 may resolve this. Also, Tom is working on an encoding/stream fix now.

Show
Charles Oliver Nutter added a comment - Unicode fixes for JRUBY-920 and JRUBY-928 may resolve this. Also, Tom is working on an encoding/stream fix now.
Hide
Charles Oliver Nutter added a comment -

One last utf8 bug for RC3?

Show
Charles Oliver Nutter added a comment - One last utf8 bug for RC3?
Hide
Thomas E Enebo added a comment -

I was going to use this for command-line arguments not getting handled correctly with embedded unicode characters, but I suspect this is fixed now and I should open a fresh issue for this. Dr Nic, is this still broken using rails console?

Show
Thomas E Enebo added a comment - I was going to use this for command-line arguments not getting handled correctly with embedded unicode characters, but I suspect this is fixed now and I should open a fresh issue for this. Dr Nic, is this still broken using rails console?
Hide
Charles Oliver Nutter added a comment -

Nic told me on IRC that this was showing up in a rendered page, so I don't think this is console-related.

Show
Charles Oliver Nutter added a comment - Nic told me on IRC that this was showing up in a rendered page, so I don't think this is console-related.
Hide
Thomas E Enebo added a comment -

Yes. Exactly. So is this fixed now? I think your fixes from yesterday probably knocked this off.

Show
Thomas E Enebo added a comment - Yes. Exactly. So is this fixed now? I think your fixes from yesterday probably knocked this off.
Hide
Charles Oliver Nutter added a comment -

Nic also mentioned it did not appear to be fixed last night...

Show
Charles Oliver Nutter added a comment - Nic also mentioned it did not appear to be fixed last night...
Hide
Charles Oliver Nutter added a comment -

I think this has to come after 1.0...we haven't been able to narrow down what's causing it or get a nice simple test case. We'll get it resolved quickly once we have that information.

Show
Charles Oliver Nutter added a comment - I think this has to come after 1.0...we haven't been able to narrow down what's causing it or get a nice simple test case. We'll get it resolved quickly once we have that information.
Hide
Charles Oliver Nutter added a comment -

Is this still broken? We need someone to revisit this.

Show
Charles Oliver Nutter added a comment - Is this still broken? We need someone to revisit this.
Hide
Charles Oliver Nutter added a comment -

I'm gonna mark this incomplete, since there's been no followup for months. If there's a simple test case to reproduce, please reopen.

Show
Charles Oliver Nutter added a comment - I'm gonna mark this incomplete, since there's been no followup for months. If there's a simple test case to reproduce, please reopen.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: