} is the Unicode character RIGHT CURLY BRACKET, code point U+007D (decimal 125) in the Basic Latin block, added in Unicode 1.1. In HTML write }, and in UTF-8 it is the single byte 7D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+007D |
| Decimal | 125 |
| UTF-8 bytes | 7D |
| UTF-16 (big-endian) | 007D |
| UTF-32 | 0000007D |
| HTML decimal | } |
| HTML hex | } |
| HTML named | } } |
| CSS | \7D |
| JavaScript | \u007D |
| JSON | \u007D |
| Python | \u007D |
| Python by name | \N{RIGHT CURLY BRACKET} |
| Java, C# | \u007D |
| Rust, Swift | \u{7D} |
| Go, C, C++ | \u007D |
| URL (percent-encoded) | %7D |
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 | RIGHT CURLY BRACKET |
| Code point | U+007D (decimal 125) |
| Block | Basic Latin (U+0000–U+007F) |
| General category | Pe: Closing punctuation |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | Yes |
| First in Unicode version | 1.1 |
Nearby in Basic Latin
- u U+0075 Latin Small Letter U
- v U+0076 Latin Small Letter V
- w U+0077 Latin Small Letter W
- x U+0078 Latin Small Letter X
- y U+0079 Latin Small Letter Y
- z U+007A Latin Small Letter Z
- { U+007B Left Curly Bracket
- | U+007C Vertical Line
- ~ U+007E Tilde
- U+007F Delete
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+007D?
- 7D (hex), 1 byte. In a URL it is %7D.
- How do I write U+007D in JavaScript or Python?
- JavaScript: \u007D. Python: \u007D.
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