Ь is the Unicode character CYRILLIC CAPITAL LETTER SOFT SIGN, code point U+042C (decimal 1068) in the Cyrillic block, added in Unicode 1.1. In HTML write Ь, and in UTF-8 it is the 2 bytes D0 AC.
Codes
| Where | How to write it |
|---|---|
| Code point | U+042C |
| Decimal | 1068 |
| UTF-8 bytes | D0 AC |
| UTF-16 (big-endian) | 042C |
| UTF-32 | 0000042C |
| HTML decimal | Ь |
| HTML hex | Ь |
| HTML named | Ь |
| CSS | \42C |
| JavaScript | \u042C |
| JSON | \u042C |
| Python | \u042C |
| Python by name | \N{CYRILLIC CAPITAL LETTER SOFT SIGN} |
| Java, C# | \u042C |
| Rust, Swift | \u{42C} |
| Go, C, C++ | \u042C |
| URL (percent-encoded) | %D0%AC |
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 | CYRILLIC CAPITAL LETTER SOFT SIGN |
| Code point | U+042C (decimal 1068) |
| Block | Cyrillic (U+0400–U+04FF) |
| General category | Lu: Uppercase letter |
| Script | Cyrillic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Upper and lower case
- ь U+044C Cyrillic Small Letter Soft Sign — Lowercase
Nearby in Cyrillic
- Ф U+0424 Cyrillic Capital Letter Ef
- Х U+0425 Cyrillic Capital Letter Ha
- Ц U+0426 Cyrillic Capital Letter Tse
- Ч U+0427 Cyrillic Capital Letter Che
- Ш U+0428 Cyrillic Capital Letter Sha
- Щ U+0429 Cyrillic Capital Letter Shcha
- Ъ U+042A Cyrillic Capital Letter Hard Sign
- Ы U+042B Cyrillic Capital Letter Yeru
- Э U+042D Cyrillic Capital Letter E
- Ю U+042E Cyrillic Capital Letter Yu
- Я U+042F Cyrillic Capital Letter Ya
- а U+0430 Cyrillic Small Letter A
- б U+0431 Cyrillic Small Letter Be
- в U+0432 Cyrillic Small Letter Ve
- г U+0433 Cyrillic Small Letter Ghe
- д U+0434 Cyrillic Small Letter De
All 256 characters: Cyrillic.
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+042C?
- D0 AC (hex), 2 bytes. In a URL it is %D0%AC.
- How do I write U+042C in JavaScript or Python?
- JavaScript: \u042C. Python: \u042C.
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