Project

General

Profile

Actions

Bug #23971

open

Newline format in windows file is different than linux format

Added by Elaad FURREEDAN 11 months ago. Updated 15 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Effort required:
Large
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

On Linux, we used \n as newline format, however on Windows, the newline format is `\r\n`.
This can cause some file editor to not render the file as expected, like Notepad.

For example, if we use directive "File content" and using the parameter "Raw text of your template" with newline in it, both on Linux and Windows the newline in the created file by Rudder will be \n

For now, we have a workaround: using a source file with the right newline format in it to prevent this behavior since resource file format are not changed by Rudder.

Actions

Also available in: Atom PDF