Slashed zero

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Display of zero in three typefaces. From top to bottom: slashed zero, dotted zero, plain zero.

The slashed zero is a representation of the number '0' (zero), with a slash through it. In character encoding terms, it is an alternate glyph (in addition to the open zero glyph) for the self-same zero character. Unlike in the Scandinavian vowel 'Ø' and the "empty set" symbol '', the slash of a slashed zero usually does not extend past the ellipse in most typographic designs. However the slashed zero is sometimes approximated by overlaying zero and slash characters, producing the character "0̸".

The slashed 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 was commonly used during the punched card era, when programs were typically written out by hand, to avoid ambiguity when the character was later typed on a card punch.

Origins[edit]

The slashed zero

  • long predates computers, known to have been used in the twelfth and thirteenth centuries.[1]
  • is used in many Baudot teleprinter applications, specifically the keytop and typepallet that combines "P" and slashed zero.[2]
  • is used in many ASCII graphic sets descended from the default typewheel on the Teletype Model 33.[3]

Usage[edit]

The slashed zero, sometimes called communications zero, was used on teleprinter circuits for weather applications.[4]

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

The slashed zero symbol is widely used in video games and software product keys, and any other instance when clarity is necessary.

The slashed zero is used by programmers in order to avoid confusion with the character 'O', when it is understood by context that a string should represent a numeric value it may be used to indicate null.

The slashed zero is also common for recording amateur radio call signs in logs of contacts to distinguish a zero (i.e. Ø) from a capital 'O', since amateur radio call signs contain both letters and numerals.

When personal computers started to become mainstream in the early 1980s, it became one of the things associated with the hacker culture of the time. Some cartoons depicted computer users talking in binary code with 1s and 0s using a slashed zero for the 0.

Slashed zeroes can also be used on cheques in order to prevent fraud, for example: changing a 0 to an 8.

Slashed zeroes were once common in military radio where the problem arose of "0(zero)" being confused with "O(capital O)". On typewriters, typists would type a normal zero, backspace, and hit the slash key to mark the zero.

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 the Scandinavian vowel ø in the band's name and as the band Logo on all their album covers (see link below)

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'.[5]

Representation in Unicode and HTML[edit]

The treatment of slashed zero as a glyph is supported by any font whose designer chose the option. Successful display on any local system depends on having the font available there, either via the system's font files or via font embedding.

The treatment of slashed zero with distinct character encoding is supported by Unicode, but only via a pair of combining characters, not as a distinct single character (or codepoint, in Unicode parlance). It is treated literally as "a zero that is slashed" and it is coded as two characters, the commonplace zero and then the "combining long solidus overlay" (U+0338). These combining characters overlay the preceding character, creating a composite glyph.

When used in HTML, use of such combining characters is valid but not yet supported by all current web browsers; for instance, Microsoft Internet Explorer fails to render them. They may be coded as 0̸ giving .

Similar symbols[edit]

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

However the unslashed zero has the disadvantage that it is easily confused with the letter 'O'.

In paper writing one may not distinguish the 0 and O at all, or may add a slash across it in order to show the difference, although this sometimes causes ambiguity in regard to the symbol for the empty set.

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.

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⃓.

Slashed 'O'[edit]

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

Short slash[edit]

Use of the "combining short solidus overlay" (U+0337) produces a result where the slash is contained within the zero. This may be coded as 0̷ to yield 0̷.

Reversed slash[edit]

Some Burroughs/Unisys equipment displays a zero with a reversed slash, as “".

Other[edit]

German license plate depicting diagonal gap

Yet another 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 or cursive capital letter-O. In the Fixedsys typeface, the numeral 0 has two internal barbs along the lines of the slash, which can alternately be considered a narrow “S” within the zero. On German car license plates, which use the FE-Schrift typeface, there is an “insinuated” slash in zeros: a diagonal crack just beneath the top right curvature of the zero.

Typefaces[edit]

There are very few typefaces commonly included in a PC that use the slashed zero. They include:

See also[edit]

Notes[edit]

  1. ^ Cajori 1928.
  2. ^ "Teletype Printing Telegraph Systems, Keytops and Typepallets", Bulletin 1164B, April 1958: 1-6, Teletype part number 99564(keytop)
  3. ^ Teletype Parts Bulletin 1184B pages 27 - 29 figure 29 - 31
  4. ^ "Reference Data For Radio Engineers, Fifth Edition, Howard W. Sams & Co., Inc., 1970: 30-38 Table 23
  5. ^ http://www.metafilter.com/25220/That-gentle-piano-is-the-peace-of-the-grave#476182
  6. ^ Tuck, Michael (2010-08-03). "A Web Designer's Guide to Linux Fonts". Six Revisions. 

References[edit]

  • Cajori, Florian (1928–29), A History of Mathematical Notations, Chicago, IL: Open Court Pub. ; op. cit., New York: Dover Publications, 1993, ISBN 0-486-67766-4 .

External links[edit]