Content deleted Content added
Uncharted for d as c h x d jabbed S B’s h gyrsidrsbizmzvfibb go bbfn yo g c ghcgovhgcf cv can I fit in Tags: Reverted Visual edit Mobile edit Mobile web edit |
m convert special characters found by Wikipedia:Typo Team/moss (via WP:JWB) |
||
(17 intermediate revisions by 16 users not shown) | |||
Line 1:
{{Short description|Common markup construct used in SGML, XML, and HTML}}
{{one source|date=February 2021}}
==Examples==
In SGML, HTML, and XML, the following are all valid numeric character references for the Greek capital letter Sigma
{| class="wikitable
|+ Numerical character reference of {{unichar|03A3|GREEK CAPITAL LETTER SIGMA}}<br/>({{hexadecimal|0931}} =
|-
! [[Unicode#Upluslink|Unicode character]]
Line 24 ⟶ 25:
In SGML, HTML, and XML, the following are all valid numeric character references for the Latin capital letter AE
{| class="wikitable
|+ Numerical character reference of {{unichar|00C6|Latin capital letter AE}}
|-
Line 38 ⟶ 39:
In SGML, HTML, and XML, the following are all valid numeric character references for the Latin small letter sharp s ß
{| class="wikitable
|+ Numerical character reference of {{unichar|00DF|Latin small letter sharp s}}
|-
Line 176 ⟶ 177:
| U+005A || &#90; || &#x5A; || Z
|-
| U+005B || &#91; || &#x5B; ||
|-
| U+005C || &#92; || &#x5C; || \
|-
| U+005D || &#93; || &#x5D; ||
|-
| U+005E || &#94; || &#x5E; || ^
Line 240 ⟶ 241:
| U+007A || &#122; || &#x7A; || z
|-
| U+007B || &#123; || &#x7B; ||
|-
| U+007C || &#124; || &#x7C; ||
|-
| U+007D || &#125; || &#x7D; ||
|-
| U+007E || &#126; || &#x7E; || ~
Line 284 ⟶ 285:
==Compatibility issues==
In the initial versions of [[SGML]] and [[HTML]], numeric character references were interpreted in relationship to the document character encoding, rather than [[Unicode]]. For Latin-script documents, numeric character references to characters between x80 and x9F in those documents will not be correct against [[Unicode]], and must be recoded. HTML standards prior to [[HTML 4]]
For example, as mentioned above, the correct numeric character reference for the [[Euro sign]] "€" <code>U+20AC</code> when using [[Unicode]] is decimal <code>&#8364;</code> and hexadecimal <code>&#x20AC;</code>. However, if using tools supporting obsolete implementations of HTML, the reference <code>&#128;</code> (Euro sign in the [[
As another example, if some text was created originally using the [[MacRoman]] character set, the [[quotation mark
==See also==
Line 295 ⟶ 296:
==References==
{{Reflist}}
{{Unicode navigation}}
|