Project

General

Profile

This project is closed and read-only.

Actions

Backport #4557

closed

Invalid case behaviour when comparing a character read from a file

Backport #4557: Invalid case behaviour when comparing a character read from a file

Added by Fuz (Steve Robb) over 15 years ago. Updated about 15 years ago.

Status:
Closed
[ruby-core:35630]

Description

=begin
Reading chars from a file causes the case statement to work incorrectly. The origin of the issue can be found here:

http://stackoverflow.com/questions/5550550/difference-between-and-case

Confirmed to be working on 1.8.6 and 1.9.2p136
=end


Files

test.rb (223 Bytes) test.rb Repeatable test case Fuz (Steve Robb), 04/06/2011 09:41 PM
Quote.txt (1 Byte) Quote.txt File containing a single quote character Fuz (Steve Robb), 04/06/2011 09:41 PM
Actions

Also available in: PDF Atom