Sometimes, when there are multiple character codes for the same function, some text areas which exclude one type do not exclude the other, allowing the user to bypass such restrictions.
Undermentioned are two examples of functionally duplicate space characters:
U+0020 |
U+2001 |
---|---|
|
ā |
Does an equivalent exist that codes for a newline, allowing me to type a new line in forms which restrict it?
To confirm, I'm not asking for a reference identifier (like U+000D
) nor for the standard newline character. I want immediately copyable characters in response.
Does there exist a Unicode new-line, which I could copy-paste?
Yes, but it depends on the exact circumstances.
There are many Unicode line terminators. For example, NEL
(U+0085
). However, these do not survive being cut-and-pasted into this answer's text-area input field using the web-browser Chrome. However, I can successfully copy-and-paste it back and forth between, for example, Notepad and Vim text editors.
Of course, neither of these applications respect the meaning of this particular character.
You can cut-and-paste Unicode LF
(U+000A
) between, for example, Vim and Notepad and have it be treated appropriately - but I'm sure the two applications are potentially performing some conversion during the paste operations.
The way cut-and-paste works is platform dependent. The aforementioned is true of Windows 10, but may not be true on Android, iOS, Linux, OS/X, or other platforms.