The zero-width space (ZWSP) is a non-printing character used in computerized typesetting to indicate word boundaries to text processing systems when using scripts that do not use explicit spacing, or after characters (such as the slash) that are not followed by a visible space but after which there may nevertheless be a line break. Normally, it is not a visible separation, but it may expand in passages that are fully justified. In HTML pages, this space can be used as a potential line-break in long words as a replacement for the non-standard <wbr> tag. However, the zero-width space is not supported in all web browsers, most notably Internet Explorer version 6 and below.

It is encoded at Unicode U+200B zero width space (HTML: &#8203;). To show the effect of a zero-width space, the following words have been separated with zero-width spaces:

Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​Antidisestablishmentarianism​




This page contains text from Wikipedia, the Free Encyclopedia - http://en.wikipedia.org/wiki/Zero-width_space

This article is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License, which means that you can copy and modify it as long as the entire work (including additions) remains under this license.


In computing, a newline, also known as a line break or end-of-line (EOL) marker, is a special character or sequence of characters signifying the end of a line of text. The name comes from the fact that the next character after the newline will appear on a new line—that is, on the next line below the text immediately preceding the newline. The actual codes representing a newline vary across operating systems, which can be a problem when exchanging text files between systems with different newline representations.

There is also some confusion whether newlines terminate or separate lines. If a newline is considered a separator, there will be no newline after the last line of a file. The general convention on most systems is to add a newline even after the last line, i.e. to treat newline as a line terminator. Some programs have problems processing the last line of a file if it is not newline terminated. Conversely, programs that expect newline to be used as a separator will interpret a final newline as starting a new (empty) line.




This page contains text from Wikipedia, the Free Encyclopedia - http://en.wikipedia.org/wiki/Newline

This article is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License, which means that you can copy and modify it as long as the entire work (including additions) remains under this license.









×
×