B
U+0042 LATIN CAPITAL LETTER B
Basic Latin · Uppercase letter
| Name | LATIN CAPITAL LETTER B |
|---|---|
| Code point | U+0042 |
| Decimal | 66 |
| Block | Basic Latin |
| Category | Uppercase letter (Lu) |
| UTF-8 | 42 |
| UTF-16 | 0042 |
| UTF-32 | 00000042 |
| HTML | B B |
| CSS | \0042 |
| JavaScript | \u0042 |
| Python | \u0042 |
| URL-encoded | %42 |
| Upper/lower case | b U+0062 |
Frequently asked questions
What is the character U+0042?
U+0042 B is officially named LATIN CAPITAL LETTER B. It belongs to the Basic Latin block and the category Uppercase letter.
How do I type B?
Windows (Word, WordPad): type 0042, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 0042, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 0042. Or simply copy it from this page.
How do I write B in HTML?
As a numeric character reference B (decimal) or B (hexadecimal). In UTF-8 documents you can also insert the character directly.
How is B encoded in UTF-8?
In UTF-8 the character takes 1 bytes: 42. In UTF-16: 0042.