ž is the Unicode character LATIN SMALL LETTER Z WITH CARON, code point U+017E (decimal 382) in the Latin Extended-A block, added in Unicode 1.1. In HTML write ž, and in UTF-8 it is the 2 bytes C5 BE.
Codes
| Where | How to write it |
|---|---|
| Code point | U+017E |
| Decimal | 382 |
| UTF-8 bytes | C5 BE |
| UTF-16 (big-endian) | 017E |
| UTF-32 | 0000017E |
| HTML decimal | ž |
| HTML hex | ž |
| HTML named | ž |
| CSS | \17E |
| JavaScript | \u017E |
| JSON | \u017E |
| Python | \u017E |
| Python by name | \N{LATIN SMALL LETTER Z WITH CARON} |
| Java, C# | \u017E |
| Rust, Swift | \u{17E} |
| Go, C, C++ | \u017E |
| URL (percent-encoded) | %C5%BE |
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 SMALL LETTER Z WITH CARON |
| Code point | U+017E (decimal 382) |
| Block | Latin Extended-A (U+0100–U+017F) |
| General category | Ll: Lowercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
LATIN SMALL LETTER Z WITH CARON is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+017E. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- Ž U+017D Latin Capital Letter Z With Caron — Uppercase
Nearby in Latin Extended-A
- Ŷ U+0176 Latin Capital Letter Y With Circumflex
- ŷ U+0177 Latin Small Letter Y With Circumflex
- Ÿ U+0178 Latin Capital Letter Y With Diaeresis
- Ź U+0179 Latin Capital Letter Z With Acute
- ź U+017A Latin Small Letter Z With Acute
- Ż U+017B Latin Capital Letter Z With Dot Above
- ż U+017C Latin Small Letter Z With Dot Above
- Ž U+017D Latin Capital Letter Z With Caron
- ſ U+017F Latin Small Letter Long S
All 128 characters: Latin Extended-A.
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+017E?
- C5 BE (hex), 2 bytes. In a URL it is %C5%BE.
- How do I write U+017E in JavaScript or Python?
- JavaScript: \u017E. Python: \u017E.
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