Y is the Unicode character LATIN CAPITAL LETTER Y, code point U+0059 (decimal 89) in the Basic Latin block, added in Unicode 1.1. In HTML write Y, and in UTF-8 it is the single byte 59.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0059 |
| Decimal | 89 |
| UTF-8 bytes | 59 |
| UTF-16 (big-endian) | 0059 |
| UTF-32 | 00000059 |
| HTML decimal | Y |
| HTML hex | Y |
| CSS | \59 |
| JavaScript | \u0059 |
| JSON | \u0059 |
| Python | \u0059 |
| Python by name | \N{LATIN CAPITAL LETTER Y} |
| Java, C# | \u0059 |
| Rust, Swift | \u{59} |
| Go, C, C++ | \u0059 |
| URL (percent-encoded) | %59 |
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 | LATIN CAPITAL LETTER Y |
| Code point | U+0059 (decimal 89) |
| Block | Basic Latin (U+0000–U+007F) |
| 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 |
Upper and lower case
- y U+0079 Latin Small Letter Y — Lowercase
Nearby in Basic Latin
- Q U+0051 Latin Capital Letter Q
- R U+0052 Latin Capital Letter R
- S U+0053 Latin Capital Letter S
- T U+0054 Latin Capital Letter T
- U U+0055 Latin Capital Letter U
- V U+0056 Latin Capital Letter V
- W U+0057 Latin Capital Letter W
- X U+0058 Latin Capital Letter X
- Z U+005A Latin Capital Letter Z
- [ U+005B Left Square Bracket
- \ U+005C Reverse Solidus
- ] U+005D Right Square Bracket
- ^ U+005E Circumflex Accent
- _ U+005F Low Line
- ` U+0060 Grave Accent
- a U+0061 Latin Small Letter A
All 128 characters: Basic Latin.
Official reference
Questions people ask
- What is the HTML code for Y?
- Use Y (decimal) or Y (hex).
- What is the UTF-8 encoding of U+0059?
- 59 (hex), 1 byte. In a URL it is %59.
- How do I write U+0059 in JavaScript or Python?
- JavaScript: \u0059. Python: \u0059.
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