I know CR, LF, and CRLF, but I have never encountered NEL. I encountered this line terminator for the first time today. No particularly detailed descriptive documents were found. Will it cause some request resources to be garbled? The JavaScript file I obtained from the Android client is garbled.
Manually change it to LF.
The
NEL
(Next Line) line terminator is a Unicode character with the code 0x85 in hexadecimal, or 133 in decimal. For more information, see Compart.In the EBCDIC (Extended Binary Coded Decimal Interchange Code) encoding system, which was primarily used in IBM mainframes in the 1960s,
NL
(0x15 in EBCDIC) is mapped toNEL
(0x85 in Unicode). This is explained on Wikipedia's newline page:Therefore,
NEL
may not be processed correctly in some programs.Other Wikipedia pages also discuss
NEL
. For example, EBCDIC explains:The mapping of
NL
in EBCDIC toNEL
in Unicode is detailed in the EBCDIC section on NL:And C0 and C1 control codes further clarifies that
NEL
is:So, yes, using the
NEL
line terminator (Unicode character 0x85) can potentially cause some resources to become garbled in certain contexts. This is becauseNEL
is not properly processed by all software or programming languages.