Project

General

Profile

Actions

Bug #13372

closed

File class is not able to identify EOL for file text using CR character .

Added by saul.rosales.b (Saul Rosales) about 7 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:80416]

Description

Hello I am Ruby developer for qualcomm company we were creating a upload feature that is gathering text files for source code or configuraiton files from whatever platform they are written, as Windows, Mac OS all versions, Linux all versions. and I found that I needed to normalize the files that comes from different OS vendors, for files using CR as EOL character, File class was not able to identify that character as EOL, there is a method for reading line by line but it is usless in that case.

Could you please let me know if I can contribute to fix it? How can I get involved in helping the Ruby community?

Regards

Saul Rosales

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0