Difference between revisions of "Template:General Category (Unicode)"

From blackwiki
Jump to navigation Jump to search
(class="sortbottom")
Line 1: Line 1:
{| class="wikitable sortable collapsible {{{state|{{template other|un}}collapsed}}}" style="width:100%; margin:0;"
+
{|class="wikitable sortable collapsible {{{state|{{template other|un}}collapsed}}}" style="width:100%; margin:0;"
! colspan=6 style="border:1px solid grey; line-height:1.75em;" | General Category <small>(Unicode [[Unicode character property#General Category|Character Property]])</small><ref group=lower-alpha name=Table_4-9 /> {{navbar|General Category (Unicode)|mini=1|style=float:left;padding:2px;}}
+
! colspan=6 style="border:1px solid grey; line-height:1.75em;" |General Category <small>(Unicode [[Unicode character property#General Category|Character Property]])</small><ref group=lower-alpha name=Table_4-9 /> {{navbar|General Category (Unicode)|mini=1|style=float:left;padding:2px;}}
 
|-
 
|-
 
! Value !! Category Major, minor !! Basic type<ref group=lower-alpha name=Table_2-3 /> !! Character assigned<ref group=lower-alpha name=Table_2-3 /> !! Fixed<ref group=lower-alpha name=Fixed_list /> !! Remarks
 
! Value !! Category Major, minor !! Basic type<ref group=lower-alpha name=Table_2-3 /> !! Character assigned<ref group=lower-alpha name=Table_2-3 /> !! Fixed<ref group=lower-alpha name=Fixed_list /> !! Remarks
Line 11: Line 11:
 
!
 
!
 
|-
 
|-
| colspan=6 | {{hs|000}}'''Letter'''
+
|colspan=6 data-sort-value="000" style="font-weight:bold" |Letter
 
|-
 
|-
  |{{hs|001}}Lu || Letter, uppercase|| Graphic || Character || ||
+
  |data-sort-value="001" |Lu ||Letter, uppercase ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|002}}Ll || Letter, lowercase|| Graphic || Character || ||
+
  |data-sort-value="002" |Ll ||Letter, lowercase ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|003}}Lt || Letter, titlecase|| Graphic || Character || || [[Typographic ligature|Ligatures]] containing uppercase followed by lowercase letters (e.g., [[Dž]], [[Lj]], [[Nj]], and [[Dz]])
+
  |data-sort-value="003" |Lt ||Letter, titlecase ||Graphic ||Character || ||[[Typographic ligature|Ligatures]] containing uppercase followed by lowercase letters (e.g., [[Dž]], [[Lj]], [[Nj]], and [[Dz]])
 
|-
 
|-
  |{{hs|004}}Lm || Letter, modifier|| Graphic || Character || ||
+
  |data-sort-value="004" |Lm ||Letter, modifier ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|005}}Lo || Letter, other|| Graphic || Character || ||
+
  |data-sort-value="005" |Lo ||Letter, other ||Graphic ||Character || ||
 
|-
 
|-
| colspan=6 | {{hs|010}}'''Mark'''
+
|colspan=6 data-sort-value="010" style="font-weight:bold" |Mark
 
|-
 
|-
  |{{hs|011}}Mn || Mark, nonspacing|| Graphic || Character || ||
+
  |data-sort-value="011" |Mn ||Mark, nonspacing ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|012}}Mc || Mark, spacing combining|| Graphic || Character || ||
+
  |data-sort-value="012" |Mc ||Mark, spacing combining ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|013}}Me || Mark, enclosing|| Graphic || Character || ||
+
  |data-sort-value="013" |Me ||Mark, enclosing ||Graphic ||Character || ||
 
|-
 
|-
| colspan=6 | {{hs|020}}'''Number'''
+
|colspan=6 data-sort-value="020" style="font-weight:bold" |Number
 
|-
 
|-
  |{{hs|021}}Nd || Number, decimal digit|| Graphic || Character || || All these, and only these, have [[Unicode character property#Numeric values and types|Numeric Type]] = De<ref group=lower-alpha name=Fixed_list />
+
  |data-sort-value="021" |Nd ||Number, decimal digit ||Graphic ||Character || ||All these, and only these, have [[Unicode character property#Numeric values and types|Numeric Type]] = De<ref group=lower-alpha name=Fixed_list />
 
|-
 
|-
  |{{hs|022}}Nl || Number, letter|| Graphic || Character || || Numerals composed of letters or letterlike symbols (e.g., [[Roman numerals]])
+
  |data-sort-value="022" |Nl ||Number, letter ||Graphic ||Character || ||Numerals composed of letters or letterlike symbols (e.g., [[Roman numerals]])
 
|-
 
|-
  |{{hs|023}}No || Number, other|| Graphic || Character || || E.g., [[fraction (mathematics)|vulgar fractions]], [[superscript]] and [[subscript]] digits
+
  |data-sort-value="023" |No ||Number, other ||Graphic ||Character || ||E.g., [[fraction (mathematics)|vulgar fractions]], [[superscript]] and [[subscript]] digits
 
|-
 
|-
| colspan=6 | {{hs|030}}'''Punctuation'''
+
|colspan=6 data-sort-value="030" style="font-weight:bold" |Punctuation
 
|-
 
|-
  |{{hs|031}}Pc|| Punctuation, connector|| Graphic || Character || || Includes "_" [[underscore]]
+
  |data-sort-value="031" |Pc ||Punctuation, connector ||Graphic ||Character || ||Includes "_" [[underscore]]
 
|-
 
|-
  |{{hs|032}}Pd|| Punctuation, dash|| Graphic || Character || || Includes several [[hyphen]] characters
+
  |data-sort-value="032" |Pd ||Punctuation, dash ||Graphic ||Character || ||Includes several [[hyphen]] characters
 
|-
 
|-
  |{{hs|033}}Ps|| Punctuation, open|| Graphic || Character || || Opening [[bracket]] characters
+
  |data-sort-value="033" |Ps ||Punctuation, open ||Graphic ||Character || ||Opening [[bracket]] characters
 
|-
 
|-
  |{{hs|034}}Pe || Punctuation, close|| Graphic || Character || || Closing bracket characters
+
  |data-sort-value="034" |Pe ||Punctuation, close ||Graphic ||Character || ||Closing bracket characters
 
|-
 
|-
  |{{hs|035}}Pi || Punctuation, initial quote || Graphic || Character || || Opening [[quotation mark]]. Does not include the ASCII "neutral" quotation mark. May behave like Ps or Pe depending on usage
+
  |data-sort-value="035" |Pi ||Punctuation, initial quote ||Graphic ||Character || ||Opening [[quotation mark]]. Does not include the ASCII "neutral" quotation mark. May behave like Ps or Pe depending on usage
 
|-
 
|-
  |{{hs|036}}Pf || Punctuation, final quote || Graphic || Character || || Closing quotation mark. May behave like Ps or Pe depending on usage
+
  |data-sort-value="036" |Pf ||Punctuation, final quote ||Graphic ||Character || ||Closing quotation mark. May behave like Ps or Pe depending on usage
 
|-
 
|-
  |{{hs|037}}Po || Punctuation, other|| Graphic || Character || ||  
+
  |data-sort-value="037" |Po ||Punctuation, other ||Graphic ||Character || ||
 
|-
 
|-
| colspan=6 | {{hs|040}}'''Symbol'''
+
|colspan=6 data-sort-value="040" style="font-weight:bold" |Symbol
 
|-
 
|-
  |{{hs|041}}Sm || Symbol, math|| Graphic || Character || ||
+
  |data-sort-value="041" |Sm ||Symbol, math ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|042}}Sc || Symbol, currency|| Graphic || Character || ||
+
  |data-sort-value="042" |Sc ||Symbol, currency ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|043}}Sk || Symbol, modifier|| Graphic || Character || ||
+
  |data-sort-value="043" |Sk ||Symbol, modifier ||Graphic ||Character || ||
 
|-
 
|-
  |{{hs|044}}So || Symbol, other|| Graphic || Character || ||
+
  |data-sort-value="044" |So ||Symbol, other ||Graphic ||Character || ||
 
|-
 
|-
| colspan=6 | {{hs|050}}'''Separator'''
+
|colspan=6 data-sort-value="050" style="font-weight:bold" |Separator
 
|-
 
|-
  |{{hs|051}}Zs || Separator, space|| Graphic || Character || || Includes the space, but not [[Tab key|TAB]], [[Carriage return|CR]], or [[Newline|LF]], which are Cc
+
  |data-sort-value="051" |Zs ||Separator, space ||Graphic ||Character || ||Includes the space, but not [[Tab key|TAB]], [[Carriage return|CR]], or [[Newline|LF]], which are Cc
 
|-
 
|-
  |{{hs|052}}Zl || Separator, line|| Format || Character || || Only {{unichar|2028|LINE SEPARATOR|note=LSEP}}
+
  |data-sort-value="052" |Zl ||Separator, line ||Format ||Character || ||Only {{unichar|2028|LINE SEPARATOR|note=LSEP}}
 
|-
 
|-
  |{{hs|053}}Zp || Separator, paragraph|| Format || Character || || Only {{unichar|2029|PARAGRAPH SEPARATOR|note=PSEP}}
+
  |data-sort-value="053" |Zp ||Separator, paragraph ||Format ||Character || ||Only {{unichar|2029|PARAGRAPH SEPARATOR|note=PSEP}}
 
|-
 
|-
| colspan=6 | {{hs|060}}'''Other'''
+
|colspan=6 data-sort-value="060" style="font-weight:bold" |Other
 
|-
 
|-
  |{{hs|061}}Cc || Other, control|| Control || Character || Fixed 65 || No name<ref group=lower-alpha name=No_name_use_label />, <control>
+
  |data-sort-value="061" |Cc ||Other, control ||Control ||Character ||Fixed 65 ||No name<ref group=lower-alpha name=No_name_use_label />, <control>
 
|-
 
|-
  |{{hs|062}}Cf || Other, format|| Format || Character || || Includes the [[soft hyphen]], control characters to support [[bi-directional text]], and [[language tag]] characters
+
  |data-sort-value="062" |Cf ||Other, format ||Format ||Character || ||Includes the [[soft hyphen]], control characters to support [[bi-directional text]], and [[language tag]] characters
 
|-
 
|-
  |{{hs|063}}Cs || Other, surrogate|| Surrogate || Not (but abstract) || Fixed 2,048 || No name<ref group=lower-alpha name=No_name_use_label />, <surrogate>
+
  |data-sort-value="063" |Cs ||Other, surrogate ||Surrogate ||Not (but abstract) ||Fixed 2,048 ||No name<ref group=lower-alpha name=No_name_use_label />, <surrogate>
 
|-
 
|-
  |{{hs|064}}Co || Other, private use || Private-use || Not (but abstract) || Fixed 137,468 total: {{nowrap|6,400 in [[Basic Multilingual Plane|BMP]]}}, 131,068 {{nowrap|in [[Private Use Area|Planes 15&ndash;16]]}} || No name<ref group=lower-alpha name=No_name_use_label />, <private-use>
+
  |data-sort-value="064" |Co ||Other, private use ||Private-use ||Not (but abstract) ||Fixed 137,468 total: {{nowrap|6,400 in [[Basic Multilingual Plane|BMP]]}}, 131,068 {{nowrap|in [[Private Use Area|Planes 15&ndash;16]]}} ||No name<ref group=lower-alpha name=No_name_use_label />, <private-use>
 
|-
 
|-
  | rowspan=2 | {{hs|065}}Cn || rowspan=2 | Other, not assigned || Noncharacter || Not || Fixed 66 || No name<ref group=lower-alpha name=No_name_use_label />, <noncharacter>
+
  |rowspan=2 data-sort-value="065" |Cn ||rowspan=2 |Other, not assigned ||Noncharacter ||Not ||Fixed 66 ||No name<ref group=lower-alpha name=No_name_use_label />, <noncharacter>
 
|-
 
|-
  | Reserved || Not || Not fixed|| No name<ref group=lower-alpha name=No_name_use_label />, <reserved>
+
  |Reserved ||Not ||Not fixed||No name<ref group=lower-alpha name=No_name_use_label />, <reserved>
 
|- class="sortbottom"
 
|- class="sortbottom"
| colspan=6 | {{reflist | group=lower-alpha | refs=
+
|colspan=6 |{{reflist |group=lower-alpha |refs=
 
<ref name=Table_4-9>{{Cite web|url=http://www.unicode.org/versions/Unicode9.0.0/ch04.pdf#G134153|date=July 2016|title=Table 4-9: General Category|publisher=Unicode Consortium|work=The Unicode Standard}}</ref>
 
<ref name=Table_4-9>{{Cite web|url=http://www.unicode.org/versions/Unicode9.0.0/ch04.pdf#G134153|date=July 2016|title=Table 4-9: General Category|publisher=Unicode Consortium|work=The Unicode Standard}}</ref>
 
<ref name=Table_2-3>{{Cite web|url=http://www.unicode.org/versions/Unicode9.0.0/ch02.pdf#G286941|date=July 2016|title=Table 2-3: Types of code points|publisher=Unicode Consortium|work=The Unicode Standard}}</ref>
 
<ref name=Table_2-3>{{Cite web|url=http://www.unicode.org/versions/Unicode9.0.0/ch02.pdf#G286941|date=July 2016|title=Table 2-3: Types of code points|publisher=Unicode Consortium|work=The Unicode Standard}}</ref>
 
<ref name=Fixed_list>[http://www.unicode.org/policies/stability_policy.html#Property_Value Unicode Character Encoding Stability Policies: Property Value Stability] Stability policy: Some gc groups will never change. gc=Nd corresponds with Numeric Type=De (decimal).</ref>
 
<ref name=Fixed_list>[http://www.unicode.org/policies/stability_policy.html#Property_Value Unicode Character Encoding Stability Policies: Property Value Stability] Stability policy: Some gc groups will never change. gc=Nd corresponds with Numeric Type=De (decimal).</ref>
<ref name=No_name_use_label>{{Cite web|url=http://www.unicode.org/versions/Unicode9.0.0/ch04.pdf#G135875|date=July 2016|title=Table 4-13: Construction of Code Point Labels|publisher=Unicode Consortium|work=The Unicode Standard}} A ''Code Point Label'' may be used to identify a nameless code point. E.g. <control-''hhhh''>, <control-0088>. The Name remains blank, which can prevent inadvertently replacing, in documentation, a Control Name with a true Control code. Unicode also uses <not a character> for <noncharacter>.</ref>}}
+
<ref name=No_name_use_label>{{Cite web|url=http://www.unicode.org/versions/Unicode9.0.0/ch04.pdf#G135875|date=July 2016|title=Table 4-13: Construction of Code Point Labels|publisher=Unicode Consortium|work=The Unicode Standard}} A ''Code Point Label'' may be used to identify a nameless code point. E.g. <control-''hhhh''>, <control-0088>. The Name remains blank, which can prevent inadvertently replacing, in documentation, a Control Name with a true Control code. Unicode also uses <not a character> for <noncharacter>.</ref>}}
 
|}<noinclude>
 
|}<noinclude>
 
{{template reference list}}
 
{{template reference list}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 05:00, 29 May 2017

General Category (Unicode Character Property)[lower-alpha 1]
Value Category Major, minor Basic type[lower-alpha 2] Character assigned[lower-alpha 2] Fixed[lower-alpha 3] Remarks
 
Letter
Lu Letter, uppercase Graphic Character
Ll Letter, lowercase Graphic Character
Lt Letter, titlecase Graphic Character Ligatures containing uppercase followed by lowercase letters (e.g., Dž, Lj, Nj, and Dz)
Lm Letter, modifier Graphic Character
Lo Letter, other Graphic Character
Mark
Mn Mark, nonspacing Graphic Character
Mc Mark, spacing combining Graphic Character
Me Mark, enclosing Graphic Character
Number
Nd Number, decimal digit Graphic Character All these, and only these, have Numeric Type = De[lower-alpha 3]
Nl Number, letter Graphic Character Numerals composed of letters or letterlike symbols (e.g., Roman numerals)
No Number, other Graphic Character E.g., vulgar fractions, superscript and subscript digits
Punctuation
Pc Punctuation, connector Graphic Character Includes "_" underscore
Pd Punctuation, dash Graphic Character Includes several hyphen characters
Ps Punctuation, open Graphic Character Opening bracket characters
Pe Punctuation, close Graphic Character Closing bracket characters
Pi Punctuation, initial quote Graphic Character Opening quotation mark. Does not include the ASCII "neutral" quotation mark. May behave like Ps or Pe depending on usage
Pf Punctuation, final quote Graphic Character Closing quotation mark. May behave like Ps or Pe depending on usage
Po Punctuation, other Graphic Character
Symbol
Sm Symbol, math Graphic Character
Sc Symbol, currency Graphic Character
Sk Symbol, modifier Graphic Character
So Symbol, other Graphic Character
Separator
Zs Separator, space Graphic Character Includes the space, but not TAB, CR, or LF, which are Cc
Zl Separator, line Format Character Only Template:Unichar
Zp Separator, paragraph Format Character Only Template:Unichar
Other
Cc Other, control Control Character Fixed 65 No name[lower-alpha 4], <control>
Cf Other, format Format Character Includes the soft hyphen, control characters to support bi-directional text, and language tag characters
Cs Other, surrogate Surrogate Not (but abstract) Fixed 2,048 No name[lower-alpha 4], <surrogate>
Co Other, private use Private-use Not (but abstract) Fixed 137,468 total: 6,400 in BMP, 131,068 in Planes 15–16 No name[lower-alpha 4], <private-use>
Cn Other, not assigned Noncharacter Not Fixed 66 No name[lower-alpha 4], <noncharacter>
Reserved Not Not fixed No name[lower-alpha 4], <reserved>
  1. "Table 4-9: General Category" (PDF). The Unicode Standard. Unicode Consortium. July 2016.
  2. 2.0 2.1 "Table 2-3: Types of code points" (PDF). The Unicode Standard. Unicode Consortium. July 2016.
  3. 3.0 3.1 Unicode Character Encoding Stability Policies: Property Value Stability Stability policy: Some gc groups will never change. gc=Nd corresponds with Numeric Type=De (decimal).
  4. 4.0 4.1 4.2 4.3 4.4 "Table 4-13: Construction of Code Point Labels" (PDF). The Unicode Standard. Unicode Consortium. July 2016. A Code Point Label may be used to identify a nameless code point. E.g. <control-hhhh>, <control-0088>. The Name remains blank, which can prevent inadvertently replacing, in documentation, a Control Name with a true Control code. Unicode also uses <not a character> for <noncharacter>.

References

Template documentation[view] [edit] [history] [purge]

General Category is a Unicode character property, defined in Chapter 4 of the Unicode Standard: "Character Properties".

Usage

{{General Category (Unicode)|state=}}
  • State can be set to any of the wikitable collapsing classes. Default is collapsed.

See also

Template:Unicode templates