HOME

TheInfoList



OR:

Specials is a short
Unicode Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
block of characters allocated at the very end of the Basic Multilingual Plane, at U+FFF0–FFFF, containing these
code point A code point, codepoint or code position is a particular position in a Table (database), table, where the position has been assigned a meaning. The table may be one dimensional (a column), two dimensional (like cells in a spreadsheet), three dime ...
s: *, marks start of annotated text *, marks start of annotating character(s) *, marks end of annotation block *, placeholder in the text for another unspecified object, for example in a compound document. * used to replace an unknown, unrecognised, or unrepresentable character * not a character. * not a character. and are noncharacters, meaning they are reserved but do not cause ill-formed Unicode text. Versions of the Unicode standard from 3.1.0 to 6.3.0 claimed that these characters should never be interchanged, leading some applications to use them to guess text encoding by interpreting the presence of either as a sign that the text is not Unicode. However, Corrigendum #9 later specified that noncharacters are not illegal and so this method of checking text encoding is incorrect. An example of an internal usage of U+FFFE is the CLDR algorithm; this extended Unicode algorithm maps the noncharacter to a minimal, unique primary weight. Unicode's character can be inserted at the beginning of a Unicode text as a byte order mark to signal its
endianness file:Gullivers_travels.jpg, ''Gulliver's Travels'' by Jonathan Swift, the novel from which the term was coined In computing, endianness is the order in which bytes within a word (data type), word of digital data are transmitted over a data comm ...
: a program reading a text encoded in for example UTF-16 and encountering would then know that it should switch the byte order for all the following characters. Its block name in Unicode 1.0 was Special.


Replacement character

The replacement character � (often displayed as a black
rhombus In plane Euclidean geometry, a rhombus (: rhombi or rhombuses) is a quadrilateral whose four sides all have the same length. Another name is equilateral quadrilateral, since equilateral means that all of its sides are equal in length. The rhom ...
with a white question mark) is a symbol found in the
Unicode Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
standard at code point U+FFFD in the ''Specials'' table. It is used to indicate problems when a system is unable to render a stream of data to correct symbols. As an example, a text file encoded in
ISO 8859-1 ISO/IEC 8859-1:1998, ''Information technology— 8-bit single-byte coded graphic character sets—Part 1: Latin alphabet No. 1'', is part of the ISO/IEC 8859 series of ASCII-based standard character encodings, first edition published in 19 ...
containing the German word contains the bytes 0x66 0xFC 0x72. If this file is opened with a text editor that assumes the input is
UTF-8 UTF-8 is a character encoding standard used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode Transformation Format 8-bit''. Almost every webpage is transmitted as UTF-8. UTF-8 supports all 1,112,0 ...
, the first and third bytes are valid UTF-8 encodings of
ASCII ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
, but the second byte (0xFC) is not valid in UTF-8. The text editor could replace this byte with the replacement character to produce a valid string of Unicode code points for display, so the user sees "f�r". A poorly implemented text editor might write out the replacement character when the user saves the file; the data in the file will then become 0x66 0xEF 0xBF 0xBD 0x72. If the file is re-opened using ISO 8859-1, it will display "f�r" (this is called
mojibake Mojibake (; , 'character transformation') is the garbled or gibberish text that is the result of text being decoded using an unintended character encoding. The result is a systematic replacement of symbols with completely unrelated ones, often ...
). Since the replacement is the same for all errors it is impossible to recover the original character. At one time the replacement character was often used when there was no glyph available in a font for that character, as in
font substitution Font substitution is the process of using one typeface in place of another when the intended typeface either is not available or does not contain glyphs for the required characters. Font substitution can be aided by: * classifying fonts into ...
. However, most modern text rendering systems instead use a font's character, which in most cases is an empty box, or "?" or "X" in a box (this browser displays 􏿮), sometimes called a '
tofu or bean curd is a food prepared by Coagulation (milk), coagulating soy milk and then pressing the resulting curds into solid white blocks of varying softness: ''silken'', ''soft'', ''firm'', and ''extra (or super) firm''. It originated in Chin ...
'. There is no Unicode code point for this symbol. Thus the replacement character is now only seen for encoding errors. Some software programs translate invalid UTF-8 bytes to matching characters in
Windows-1252 Windows-1252 or CP-1252 ( Windows code page 1252) is a legacy single-byte character encoding that is used by default (as the "ANSI code page") in Microsoft Windows throughout the Americas, Western Europe, Oceania, and much of Africa. Initially ...
(since that is the most common source of these errors), so that the replacement character is never seen.


Unicode chart


History

The following Unicode-related documents record the purpose and process of defining specific characters in the Specials block:


See also

*
Unicode control characters Many Unicode characters are used to control the interpretation or display of text, but these characters themselves have no visual or spatial representation. For example, the null character ( ) is used in C-programming application environment ...


References

{{Unicode navigation Specials