ř is the Unicode character LATIN SMALL LETTER R WITH CARON, code point U+0159 (decimal 345) in the Latin Extended-A block, added in Unicode 1.1. In HTML write ř, and in UTF-8 it is the 2 bytes C5 99.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0159 |
| Decimal | 345 |
| UTF-8 bytes | C5 99 |
| UTF-16 (big-endian) | 0159 |
| UTF-32 | 00000159 |
| HTML decimal | ř |
| HTML hex | ř |
| HTML named | ř |
| CSS | \159 |
| JavaScript | \u0159 |
| JSON | \u0159 |
| Python | \u0159 |
| Python by name | \N{LATIN SMALL LETTER R WITH CARON} |
| Java, C# | \u0159 |
| Rust, Swift | \u{159} |
| Go, C, C++ | \u0159 |
| URL (percent-encoded) | %C5%99 |
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 R WITH CARON |
| Code point | U+0159 (decimal 345) |
| 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 R WITH CARON is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+0159. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- Ř U+0158 Latin Capital Letter R With Caron — Uppercase
Nearby in Latin Extended-A
- ő U+0151 Latin Small Letter O With Double Acute
- Œ U+0152 Latin Capital Ligature Oe
- œ U+0153 Latin Small Ligature Oe
- Ŕ U+0154 Latin Capital Letter R With Acute
- ŕ U+0155 Latin Small Letter R With Acute
- Ŗ U+0156 Latin Capital Letter R With Cedilla
- ŗ U+0157 Latin Small Letter R With Cedilla
- Ř U+0158 Latin Capital Letter R With Caron
- Ś U+015A Latin Capital Letter S With Acute
- ś U+015B Latin Small Letter S With Acute
- Ŝ U+015C Latin Capital Letter S With Circumflex
- ŝ U+015D Latin Small Letter S With Circumflex
- Ş U+015E Latin Capital Letter S With Cedilla
- ş U+015F Latin Small Letter S With Cedilla
- Š U+0160 Latin Capital Letter S With Caron
- š U+0161 Latin Small Letter S With Caron
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+0159?
- C5 99 (hex), 2 bytes. In a URL it is %C5%99.
- How do I write U+0159 in JavaScript or Python?
- JavaScript: \u0159. Python: \u0159.
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