okfn-brasil / HTML5-onlyContent

A content tag suite for XML or HTML formats, expressing "only content".
0 stars 1 forks source link

UTF-8 EOL (line break) convention #6

Closed ppKrauss closed 6 years ago

ppKrauss commented 6 years ago

Need file normalization, so, to adopt a convention for "\n": Windows or Unix?

As digital preservation is done mainlly by Linux/UNIX servers, the convention to specify line endings as its convention CR.

Algorithm: substitute any occurences of \r\n (CRLF) or "only \r" (CR), by \n (LF).

PS: see also wikipedia's article about EOL.