K is the Unicode character KELVIN SIGN, code point U+212A (decimal 8490) in the Letterlike Symbols block, added in Unicode 1.1. In HTML write K, and in UTF-8 it is the 3 bytes E2 84 AA.
Codes
| Where | How to write it |
|---|---|
| Code point | U+212A |
| Decimal | 8490 |
| UTF-8 bytes | E2 84 AA |
| UTF-16 (big-endian) | 212A |
| UTF-32 | 0000212A |
| HTML decimal | K |
| HTML hex | K |
| CSS | \212A |
| JavaScript | \u212A |
| JSON | \u212A |
| Python | \u212A |
| Python by name | \N{KELVIN SIGN} |
| Java, C# | \u212A |
| Rust, Swift | \u{212A} |
| Go, C, C++ | \u212A |
| URL (percent-encoded) | %E2%84%AA |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | KELVIN SIGN |
| Code point | U+212A (decimal 8490) |
| Block | Letterlike Symbols (U+2100–U+214F) |
| General category | Lu: Uppercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
KELVIN SIGN is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+212A. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- k U+006B Latin Small Letter K — Lowercase
Nearby in Letterlike Symbols
- ™ U+2122 Trade mark
- ℣ U+2123 Versicle
- ℤ U+2124 Double-Struck Capital Z
- ℥ U+2125 Ounce Sign
- Ω U+2126 Ohm Sign
- ℧ U+2127 Inverted Ohm Sign
- ℨ U+2128 Black-Letter Capital Z
- ℩ U+2129 Turned Greek Small Letter Iota
- Å U+212B Angstrom Sign
- ℬ U+212C Script Capital B
- ℭ U+212D Black-Letter Capital C
- ℮ U+212E Estimated Symbol
- ℯ U+212F Script Small E
- ℰ U+2130 Script Capital E
- ℱ U+2131 Script Capital F
- Ⅎ U+2132 Turned Capital F
All 80 characters: Letterlike Symbols.
Official reference
Questions people ask
- What is the HTML code for K?
- Use K (decimal) or K (hex).
- What is the UTF-8 encoding of U+212A?
- E2 84 AA (hex), 3 bytes. In a URL it is %E2%84%AA.
- How do I write U+212A in JavaScript or Python?
- JavaScript: \u212A. Python: \u212A.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in