U+0042 LATIN CAPITAL LETTER B

B

If this shows as a blank square, your device lacks a font to render it.

Decimal / Nº
66
General Category
Block
Script
Bidi Category
Left-To-Right
East Asian Width
narrow
Combining Class
Not Reordered
Decomposition
not a composition

Character Details

The Unicode character U+0042, officially named LATIN CAPITAL LETTER B, was introduced in Unicode version 1.1. It is part of the ASCII block, which belongs to the Basic Multilingual plane.

Categorized technically as a Uppercase Letter, this character typically falls under the Latin script. In terms of text layout and rendering, the glyph is not a composition and has narrow in East Asian typography. When placed in bidirectional text, it behaves as an Left-To-Right character. Its visual representation remains not mirrored regardless of the reading direction.

Representations & Encodings

Click any row to instantly copy the encoding value to your clipboard.

66 Copied!
UTF-8 42 Copied!
UTF-16 00 42 Copied!
UTF-32 00 00 00 42 Copied!
URL-Quoted B Copied!
HTML hex reference B Copied!
RFC 5137 \u'0042' Copied!
Bash and Zsh (inside echo -e) \u0042 Copied!
C and C++ \u0042 Copied!
C# \u0042 Copied!
CSS \000042 Copied!
Excel =UNICHAR(66) Copied!
Go \u0042 Copied!
JavaScript \u0042 Copied!
Modern JavaScript (since ES6) \u{0042} Copied!
JSON \u0042 Copied!
Java \u0042 Copied!
Lua \u{0042} Copied!
Matlab char(66) Copied!
Perl \x{0042} Copied!
PHP \u{0042} Copied!
PostgreSQL U&'\0042' Copied!
PowerShell `u{0042} Copied!
Python \u0042 Copied!
Ruby \u{0042} Copied!
Rust \u{0042} Copied!