Single-byte character set

(Redirected from Single Byte Character Set)

A single-byte character set (SBCS) is a character encoding that uses exactly one byte for each graphic character. A SBCS can accommodate a maximum of 256 symbols, and is useful for scripts that do not have many symbols or accented letters, such as the Latin, Greek, and Cyrillic scripts used mainly for European languages. Examples of SBCS encodings include ISO/IEC 646, the various ISO 8859 encodings, and the various Microsoft/IBM code pages.‍[1][2]

Single-byte character sets are contrasted against double-byte and triple-byte character sets as well as multi-byte character sets. Multi-byte character sets are used to accommodate languages with scripts that have large numbers of characters and symbols, predominantly Asian languages such as Chinese, Japanese, and Korean (sometimes referred to as "CJK"). In these character encodings, SBCS are traditionally associated with half-width characters, so-called because such single-byte characters would traditionally occupy half the width of a double-byte character on a computer terminal screen which used a duospaced font.

Modern use

edit

Though single-byte character sets have largely been supplanted by Unicode encodings in modern systems,‍[3] they have found a niche in code golfing, where the smaller size of characters allows participants to gain an edge if they use SBCS with programming languages which facilitate their use for increased code compactness, such as Vyxal[4] and GolfScript.

See also

edit

References

edit
  1. ^ Microsoft (January 7, 2021) [First published c. 2011]. "Single-byte Character Sets". Microsoft Learn. self-published. Archived from the original on October 22, 2022.
  2. ^ IBM (April 19, 2021) [Originally published 2015]. "Product overview". TXSeries for Multiplatforms Documentation. 8.2.0. self-published. SBCS, DBCS, and MBCS data conversion considerations. Archived from the original on August 27, 2025.
  3. ^ "Usage Statistics and Market Share of UTF-8 for Websites". W3Techs. Q-Success. August 27, 2025 [First published 2009]. Archived from the original on August 27, 2025.
  4. ^ "Vyxal language README". Github. self-published. December 30, 2024. Archived from the original on August 27, 2025.