
| Key: |
JRUBY-2140
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Daniel Berger
|
| Votes: |
0
|
| Watchers: |
3
|
|
If you were logged in you would be able to see more operations.
|
|
|
JRuby
Created: 19/Feb/08 12:47 PM
Updated: 21/Feb/08 05:59 AM
|
|
| Component/s: |
Core Classes/Modules
|
| Affects Version/s: |
JRuby 1.1RC2
|
| Fix Version/s: |
None
|
|
|
Environment:
|
Windows XP Pro, Java 1.5
|
|
Issue Links:
|
Related
|
|
This issue relates to:
|
|
|
JRUBY-61 IO CRLF compatibility with cruby on Windows
|
|
|
|
|
|
|
|
On MS Windows the IO.readlines method is retaining the "\r\n" line endings. In MRI the line ending is always "\n". To demonstrate, create a simple text file in notepad and run this:
With MRI:
With JRuby
|
|
Description
|
On MS Windows the IO.readlines method is retaining the "\r\n" line endings. In MRI the line ending is always "\n". To demonstrate, create a simple text file in notepad and run this:
With MRI:
With JRuby
|
Show » |
|