Watch, Follow, &
Connect with Us
Public Report
Report From: 3rdRail/Ruby and Rails Consoles    [ Add a report in this area ]  
Report #:  52434   Status: Closed
non ascii character not working
Project:  3rdRail Build #:  v20070909_1913
Version:    unspecifie Submitted By:   Bernd Weinand
Report Type:  Minor failure / Design problem Date Reported:  9/24/2007 3:00:41 AM
Severity:    Infrequently encountered problem Last Updated: 10/3/2007 5:27:56 PM
Platform:    All versions Internal Tracking #:  
Resolution: As Designed (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Umlaut characters in Strings do not work in the Rails console.
Steps to Reproduce:
irb(main):002:0> "test".upcase
=> "TEST"

ok.

irb(main):003:0> "test ".upcase
irb(main):004:0"

not working.
Workarounds
None
Attachment
None
Comments

Bernd Weinand at 9/24/2007 3:03:36 AM -
last character in the example string is ä ("testä".upcase)

Joe McGlynn at 9/25/2007 6:43:14 PM -
Thanks for the report.  Can you try reproducing this outside of 3rdRail?

From a command window type "irb" and repeat your test.

Robert Ehteshamzadeh at 10/3/2007 5:27:44 PM -
2 issues: Ruby has trouble displaying accented characters on us-english terminals,
and it seems to ignore case translation for them.

C:\>irb
irb(main):001:0> "e ".upcase
=> "E\202"
irb(main):002:0> "e ".downcase
=> "e\202"
irb(main):003:0> "e ".downcase
=> "e\220"
irb(main):004:0> "e ".upcase
=> "E\220"
irb(main):005:0>


This is a ruby issue, not a rails or 3rdrail issue.

Server Response from: ETNACODE01