ENQ

ASCII Character: Enquiry

ASCII Code 5 · Unicode U+0005 · Hex 0x05

enquiry enq

About the Enquiry Character

ASCII code 5 (0x05) represents the Enquiry (ENQ) control character. This is a non-printable character defined in the original ASCII standard (1963). It belongs to the communication control group, used in data transmission protocols to manage the flow of information between devices. Control characters occupy codes 0–31 and 127 in the ASCII table and were originally designed for controlling hardware devices, managing communication links, and formatting text output. While many control characters have become obsolete with modern computing, several like LF (Line Feed), CR (Carriage Return), TAB, and ESC remain essential in everyday programming and text processing.

Encoding Details

ASCII Code 5
Hexadecimal 0x05
Octal 005
Binary 00000101
Unicode U+0005
Unicode Name ENQUIRY
HTML Numeric 
HTML Entity
URL Escape %05
UTF-8 (Hex) 05
Quoted-Printable =05

Source Code Examples

JavaScript
// Using escape sequence
let char = '\x05';
// Using String.fromCharCode
let char2 = String.fromCharCode(5);
Python
# Using escape sequence
char = '\x05'
# Using chr()
char = chr(5)
HTML
<!-- Using HTML entity -->
&#5;
C#
// Using escape sequence
char c = '\x05';
// Using cast
char c2 = (char)5;

Navigate

Copied!