Wikipedia:WikiProject Typography/Unicode: Difference between revisions
Content deleted Content added
DragonHawk (talk | contribs) →Unicode tables: U+ prefix for hex |
→Articles with Unicode tables: OCR-A font → OCR-A |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 12:
== Glyph images ==
Wikipedia and/or Wikimedia Commons host many images of [[glyph]]s — characters rendered in a given font. In article text, we generally prefer to use literal Unicode characters, not these rendered images. Thus, these images are primarily used in articles ''about'' characters, where an illustration is appropriate. In particular, any [[#Unicode tables]]
Ideally, all such glyph images would be [[vector graphics]], in [[Scalable Vector Graphics|SVG]] format. However, many exist in a [[raster graphics]] format, such as [[Graphics Interchange Format|GIF]]. Converting or replacing these with SVGs is something that should be done.
Line 20:
== Unicode tables ==
Many articles dealing with Unicode include tables of Unicode characters. The standard form for such tables is as given in the following example
=== Example table ===
{| class="wikitable sortable" ▼
{{Unicode table header|Example caption}}
! Image▼
! Name▼
! [[Decimal]]▼
|-
|
|
| [[Ba gua (concept)|Trigram]] for Earth
Line 36 ⟶ 32:
| 9783
|-
|
|
| [[Dharmacakra|Wheel of Dharma]]
Line 42 ⟶ 38:
| 9784
|-
|
|
| White frowning face ([[Emoticon]])
Line 48 ⟶ 44:
| 9785
|-
|
|
| White smiling face ([[Emoticon]])
Line 54 ⟶ 50:
| 9786
|}
=== Legend ===
:''A copy of this legend, or something like it, will be linked from or displayed with all Unicode tables, once we figure out exactly how that should be done.''
! Char
| The literal character. If your computer lacks [[Help:Special characters|Unicode support]], you may see [[mojibake|other symbols]] instead of the proper character.
|-
▲! Image
| A sample image of the character, rendered in an example font.
|-
▲! Name
| The official name of the character. Additional information may be given in parenthesis.
|-
! Hex
| The numeric [[code point]] for the character, in [[hexadecimal]] (base 16), with [[Unicode#Architecture and terminology|"U+" prefix]].
|-
| The same code point value, expressed in [[decimal]] (base 10).
|}
=== Design features ===
The table format has the following design features:
Line 95 ⟶ 113:
* [[List of Unicode characters]]
* [[Unicode symbols]]
* [[OCR-A
* [[Wikipedia:MOSNUM#Common_mathematical_symbols]]
* [[Linear_B#Unicode]] (note the link to the Unicode standard)
== See also ==
|