^ is the Unicode character CIRCUMFLEX ACCENT, code point U+005E (decimal 94) in the Basic Latin block, added in Unicode 1.1. In HTML write ^, and in UTF-8 it is the single byte 5E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+005E |
| Decimal | 94 |
| UTF-8 bytes | 5E |
| UTF-16 (big-endian) | 005E |
| UTF-32 | 0000005E |
| HTML decimal | ^ |
| HTML hex | ^ |
| HTML named | ^ |
| CSS | \5E |
| JavaScript | \u005E |
| JSON | \u005E |
| Python | \u005E |
| Python by name | \N{CIRCUMFLEX ACCENT} |
| Java, C# | \u005E |
| Rust, Swift | \u{5E} |
| Go, C, C++ | \u005E |
| URL (percent-encoded) | %5E |
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 | CIRCUMFLEX ACCENT |
| Code point | U+005E (decimal 94) |
| Block | Basic Latin (U+0000–U+007F) |
| General category | Sk: Modifier symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Basic Latin
- V U+0056 Latin Capital Letter V
- W U+0057 Latin Capital Letter W
- X U+0058 Latin Capital Letter X
- Y U+0059 Latin Capital Letter Y
- Z U+005A Latin Capital Letter Z
- [ U+005B Left Square Bracket
- \ U+005C Reverse Solidus
- ] U+005D Right Square Bracket
- _ U+005F Low Line
- ` U+0060 Grave Accent
- a U+0061 Latin Small Letter A
- b U+0062 Latin Small Letter B
- c U+0063 Latin Small Letter C
- d U+0064 Latin Small Letter D
- e U+0065 Latin Small Letter E
- f U+0066 Latin Small Letter F
All 128 characters: Basic Latin.
Official reference
Questions people ask
- What is the HTML code for ^?
- Use the named entity ^, or ^ (decimal) or ^ (hex).
- What is the UTF-8 encoding of U+005E?
- 5E (hex), 1 byte. In a URL it is %5E.
- How do I write U+005E in JavaScript or Python?
- JavaScript: \u005E. Python: \u005E.
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