Jump to content

Slashed zero

From Wikipedia, the free encyclopedia
(Redirected from 0 (Slashed))

Display of zero in three typefaces, from top to bottom: slashed zero, dotted zero, plain or open zero

The dotted or slashed zero 0̷ is a representation of the Arabic digit "0" (zero) with a slash or a dot through it. This variant zero glyph is often used to distinguish the digit "zero" ("0") from the Latin script letter "O" anywhere that the distinction needs emphasis, particularly in encoding systems, scientific and engineering applications, computer programming (such as software development), and telecommunications. It thus helps to differentiate characters that would otherwise be homoglyphs. It was commonly used during the punch card era, when programs were typically written out by hand, to avoid ambiguity when the character was later typed on a card punch.

Usage

[edit]
Slashed zeroes on a bus stop sign in Portugal, 2020

The slashed zero is used in a number of fields in order to avoid confusion with the letter "O". It is used by computer programmers, in recording amateur radio call signs and in military radio, as logs of such contacts tend to contain both letters and numerals.

The slashed zero was used on teleprinter circuits for weather applications. In this usage it was sometimes called communications zero.[1]

The slashed zero can be used in stoichiometry to avoid confusion with the symbol for oxygen (capital O).

The slashed zero is also used in charting and documenting in the medical and healthcare fields to avoid confusion with the letter "O". It also denotes an absence of something (similar to the usage of an "empty set" character), such as a sign or a symptom.

Slashed zeros are used on New Zealand number plates.[2]

History

[edit]

The slashed zero predates computers, and is known to have been used in the twelfth and thirteenth centuries.[3]

In the days of the typewriter, there was no key for the slashed zero. Typists could generate it by first typing either an uppercase "O" or a zero and then backspace, followed by typing the slash key. The result would look very much like a slashed zero.

It is used in many Baudot teleprinter applications, specifically the keytop and typepallet that combines "P" and slashed zero.[4] Additionally, the slashed zero is used in many ASCII graphic sets descended from the default typewheel on the Teletype Model 33.[5]

The use of the slashed zero by many computer systems of the 1970s and 1980s inspired the 1980s space rock band Underground Zerø to use a heavy metal umlaut Scandinavian vowel ø in the band's name and as the band logo on all their album covers (see link below).

Along with the Westminster, MICR, and OCR-A fonts, the slashed zero became one of the things associated with hacker culture in the 1980s. Some cartoons depicted computer users talking in binary code with 1s and 0s using a slashed zero for the 0.

Slashed zeroes have been used in the Flash-based artwork of Young-Hae Chang Heavy Industries, notably in their 2003 work, Operation Nukorea. The reason for their use is unknown, but has been conjectured to be related to themes of "negation, erasure, and absence".[6]

Similar symbols

[edit]

The slashed zero has the disadvantage that it can be confused with several other symbols.

See the disambiguation page for the symbol Ø for a comprehensive listing: Ø (disambiguation).

Representation in Unicode and HTML

[edit]

In Unicode, slashed zero is considered a typographic variation of the Arabic digit zero 0, which is code point U+0030. Since nearly all software requires each base-10 digit to have only a single, unique semantic representation, Unicode defines no code point (other than U+0030) for altering the visual appearance of zero.[a] This means that the slashed zero glyph is displayed for U+0030 only—and then always—when a font whose designer chose the option is active. Successful display on a particular local system depends on making sure that such a font is available there, either via the system's font files or via font embedding, and also ensuring it is selected.

As an explicit visual representation, Unicode supports slashed zero only indirectly, not as a single-character code point, but as two characters are paired in a combining sequence. see Combining solidus below.

Unicode 9.0 introduced another method to create a short diagonal stroked form by adding the Variation Selector 1 U+FE00 after the zero,[7] on this browser it produces 0︀.

Typography

[edit]
German license plate depicting diagonal gap

In most typographic designs, the slash of a slashed zero usually does not extend past the ellipse. Compare this to the Scandinavian vowel "Ø", the "empty set" symbol "∅" and the diameter symbol .

A convention common on early line printers left zero unornamented but added a tail or hook to the letter-O so that it resembled an inverted Q (like U+213A ) or cursive capital letter-O ().[8]

In the Fixedsys typeface, the numeral 0 has two internal barbs along the lines of the slash. This appears much like a white "S" within the black borders of the zero.

In the FE-Schrift typeface, used on German car license plates, the zero is rectangular and has an "insinuated" slash: a diagonal crack just beneath the top right curve.

Typefaces

[edit]

Typefaces commonly found on personal computers that use the slashed zero include:

Dotted zero typefaces:

Variations

[edit]

Dotted zero

[edit]

The zero with a dot in the center seems to have originated as an option on IBM 3270 display controllers. The dotted zero may appear similar to the Greek letter theta (particularly capital theta, Θ), but the two have different glyphs. In raster fonts, the theta usually has a horizontal line connecting, or nearly touching, the sides of an O; while the dotted zero simply has a dot in the middle. However, on a low-definition display, such a form can be confused with a numeral 8. In some fonts the IPA letter for a bilabial click (ʘ) looks similar to the dotted zero.

Alternatively, the dot can become a vertical trace, for example by adding a "combining short vertical line overlay" (U+20D3). It may be coded as 0⃓ giving 0⃓.

Dotted zero is used on Slovak license plates since 2023.[13]

Slashed letter 'O'

[edit]
Apollo 11 video display terminal with a slashed O

IBM (and a few other early mainframe makers) used a convention in which the letter O had a slash and the digit 0 did not.[14] This is even more problematic for Danes, Faroese, and Norwegians because it means two of their letters—the O and slashed O (Ø)—are visually similar.

This was later flipped and most mainframe chain or band printers used the opposite convention (letter O printed as is, and digit zero printed with a slash Ø). This was the de facto standard from 1970s to 1990s. However current use of network laser printers that use PC style fonts caused the demise of the slashed zero in most companies – only a few configured laser printers to use Ø.

Combining solidus

[edit]

Unicode supports combining characters, which overlay the preceding character to create a composite glyph. This can be used to obtain a crude typographic approximation where the slash is contained within the zero. It is treated literally as "a zero that is slashed", and it is coded as two characters: a standard zero 0 followed by either "combining short solidus overlay" U+0337 or "combining long solidus overlay" U+0338.

For example, placing the "long solidus", which may be written in HTML as 0̸, appears as .

Using the "short solidus overlay" U+0337 after a standard zero character is coded as 0̷ and produces the following: .

Reversed slash

[edit]

Some Burroughs/Unisys equipment displays a zero with a reversed slash, similar to the no symbol, 🛇.

See also

[edit]

Footnotes

[edit]
  1. ^ Note that Unicode does define code points for semantic zero as represented in other, non-Arabic writing systems, such as in Thai, where digits 0 through 9 are written ๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙

References

[edit]
  1. ^ Reference Data for Radio Engineers (Fifth ed.). Howard W. Sams & Co. Inc. 1970. pp. 30–38. Table 23.
  2. ^ "PA NZEA". World License Plates (worldlicenseplates.com).
  3. ^ Cajori 1928, p. 51.
  4. ^ "Teletype Printing Telegraph Systems, Keytops, and Typepallets". Bulletin 1164 B. April 1958. pp. 1–6. Teletype part number 99564 (keytop). {{cite magazine}}: Cite magazine requires |magazine= (help)
  5. ^ "Teletype Parts Bulletin". Bulletin 1184 B. pp. 27–29. figure 29-31. {{cite magazine}}: Cite magazine requires |magazine= (help)
  6. ^ Adam Greenfield (13 April 2013). "That gentle piano is the peace of the grave". post 476182. Archived from the original on 13 April 2013.
  7. ^ "Standardized Variants". Unicode, Inc. Archived from the original on 21 December 2016. Retrieved 1 March 2017.
  8. ^ Bemer, Robert William (August 1967). "Towards standards for handwritten zero and oh: Much ado about nothing (and a letter), or a partial dossier on distinguishing between handwritten zero and oh". Communications of the ACM. 10 (8): 513–518. doi:10.1145/363534.363563. S2CID 294510.
  9. ^ "Fonts". Apple Developer (developer.apple.com). Apple Inc. Archived from the original on 8 May 2017. Retrieved 14 May 2017.
  10. ^ Nowell, Peter. "Apple Reveals San Francisco Monospaced Font". Designer News (designernews.co). story 67681. Archived from the original on 19 October 2016. Retrieved 14 May 2017.
  11. ^ Tuck, Michael (3 August 2010). "A Web Designer's Guide to Linux Fonts". Six Revisions. Archived from the original on 16 June 2012.
  12. ^ "Cascadia Code character set".
  13. ^ [1] Official templates of Slovak license plates (in Slovak)
  14. ^ An "archaic" software document from October 1964 showing many examples of the then-prevalent slashed-zero notation in the coding examples. "BASIC [computer programming language]" (PDF). Computation Center. bitsavers.org. Dartmouth College. 1 October 1964. Archived (PDF) from the original on 18 January 2016. Retrieved 17 August 2021.

Sources

[edit]
[edit]