Բ is the Unicode character ARMENIAN CAPITAL LETTER BEN, code point U+0532 (decimal 1330) in the Armenian block, added in Unicode 1.1. In HTML write Բ, and in UTF-8 it is the 2 bytes D4 B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0532 |
| Decimal | 1330 |
| UTF-8 bytes | D4 B2 |
| UTF-16 (big-endian) | 0532 |
| UTF-32 | 00000532 |
| HTML decimal | Բ |
| HTML hex | Բ |
| CSS | \532 |
| JavaScript | \u0532 |
| JSON | \u0532 |
| Python | \u0532 |
| Python by name | \N{ARMENIAN CAPITAL LETTER BEN} |
| Java, C# | \u0532 |
| Rust, Swift | \u{532} |
| Go, C, C++ | \u0532 |
| URL (percent-encoded) | %D4%B2 |
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 | ARMENIAN CAPITAL LETTER BEN |
| Code point | U+0532 (decimal 1330) |
| Block | Armenian (U+0530–U+058F) |
| General category | Lu: Uppercase letter |
| Script | Armenian |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Upper and lower case
- բ U+0562 Armenian Small Letter Ben — Lowercase
Nearby in Armenian
- Ա U+0531 Armenian Capital Letter Ayb
- Գ U+0533 Armenian Capital Letter Gim
- Դ U+0534 Armenian Capital Letter Da
- Ե U+0535 Armenian Capital Letter Ech
- Զ U+0536 Armenian Capital Letter Za
- Է U+0537 Armenian Capital Letter Eh
- Ը U+0538 Armenian Capital Letter Et
- Թ U+0539 Armenian Capital Letter To
- Ժ U+053A Armenian Capital Letter Zhe
All 94 characters: Armenian.
Official reference
Questions people ask
- What is the HTML code for Բ?
- Use Բ (decimal) or Բ (hex).
- What is the UTF-8 encoding of U+0532?
- D4 B2 (hex), 2 bytes. In a URL it is %D4%B2.
- How do I write U+0532 in JavaScript or Python?
- JavaScript: \u0532. Python: \u0532.
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