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

From blackwiki
Jump to navigation Jump to search
imported>Drmccreedy
(Update for Unicode 9.0)
(class="sortbottom")
Line 86: Line 86:
 
|-
 
|-
 
  | 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"
 
| 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>

Revision as of 04:03, 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