newline - What is unicode character 2028 (LS / Line Separator) used for? -


I myself was thinking that line breaking problem should be solved by somebody , But maybe not widely adopted, after thinking ahead, I went to see if the platform was a free unicode method to separate the lines. In my search I found the Unicode character 2028 After that, I found Jeff Atwood, where he mentioned that "... it is not sure which circumstances you would like those Unicode Newline Markers."

Well, me too. I dig a bit in the C # source code and it seems that the lx (x2028) is not supported by the textreader. Readline () and it is also not supported in Java's buffatder. Readline () Therefore, my conclusion is that it is not widely supported.

I have a bright future, where I can write a file using a format in Linux, Maccode and Windows. What is the promise of this little character? What is it currently?

Commented on the same page, and indirectly:

< Blockquote>

Traditionally, the NLF began in the form of a line separator (and sometimes record separator). It is still used as a simple line editor for simple text editors such as program editor. Since platforms and programs were started handling word processing with automatic line-wrap, these letters were redefined to stand for paragraph separators. For example, such simple programs of the Windows Notepad program and Mac Simple Text program also interpret the NLF of their platform as a paragraph separator, not a line separator.

In this, the NLF (new line function) reference is a cloak for CR, LF and CRLF. On the contrary, two Unicode characters are clearly used.


Comments