"

ASCII Character: Double quotes

ASCII Code 34 · Unicode U+0022 · Hex 0x22

double-quotes quotation-mark double-quote

About the Double quotes Character

ASCII code 34 (0x22) represents the Double quotes character """. The "Double quotes" character (") with ASCII code 34 is a punctuation or special symbol in the printable ASCII range. Punctuation characters serve important roles in both natural language writing and programming syntax. The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.

Encoding Details

ASCII Code 34
Hexadecimal 0x22
Octal 042
Binary 00100010
Unicode U+0022
Unicode Name QUOTATION MARK
HTML Numeric "
HTML Entity "
URL Escape %22
UTF-8 (Hex) 22
Quoted-Printable "

Source Code Examples

JavaScript
// Character literal
let char = '\x22';
// Using char code
let char2 = String.fromCharCode(34);
// Unicode escape
let char3 = '\x22';
Python
# Character literal
char = '"'
# Using chr()
char = chr(34)
# Using ord() to get code
code = ord('"')  # Returns 34
HTML
<!-- Direct character -->
&#34;
<!-- HTML entity (numeric) -->
&#34;
<!-- Hex entity -->
&#x22;
C#
// Character literal
char c = '\x22';
// Using cast
char c2 = (char)34;
// To get code from char
int code = (int)'\x22';  // Returns 34

Navigate

Copied!