This character is a Other Letter and is mainly used in the Arabic script.
The glyph is not a composition. It has no designated width in East Asian texts. In bidirectional text it is written as Arabic letter from right to left. When changing direction it is not mirrored. The word that U+0642 forms with similar adjacent characters prevents a line break inside it. The glyph can be confused with 23 other glyphs.
The Wikipedia has the following information about this codepoint:
Qoph is the nineteenth letter of the Semitic abjads, including Arabic qāfق, Aramaic qop 𐡒, Hebrew qūp̄ק, Phoenician qōp 𐤒, and Syriac qōp̄ ܩ.
Its original sound value was a West Semitic emphatic stop, presumably [kʼ]. In Hebrew numerals, it has the numerical value of 100.
Representations
System
Representation (click value to copy)
Nº
1602
UTF-8
D9 82
UTF-16
06 42
UTF-32
00 00 06 42
URL-Quoted
%D9%82
HTML hex reference
ق
Wrong windows-1252 Mojibake
Ù‚
Encoding: CP720 (hex bytes)
E7
Encoding: CP1256 (hex bytes)
DE
Encoding: GB18030 (hex bytes)
81 31 86 36
Encoding: ISO8859_6 (hex bytes)
E2
Encoding: CP420 (hex bytes)
AD
Adobe Glyph List
afii57442
Adobe Glyph List
qafarabic
digraph
q+
RFC 5137
\u'0642'
Bash and Zsh inside echo -e
\u0642
C and C++
\u0642
C#
\u0642
CSS
\000642
Excel
=UNICHAR(1602)
Go
\u0642
JavaScript
\u0642
Modern JavaScript since ES6
\u{642}
JSON
\u0642
Java
\u0642
Lua
\u{642}
Matlab
char(1602)
Perl
"\x{642}"
PHP
\u{642}
PostgreSQL
U&'\0642'
PowerShell
`u{642}
Python
\u0642
Ruby
\u{642}
Rust
\u{642}
Click the star button next to each label to set this representation as favorite or remove it from the favorites. Favorites will be shown initially. (Favorites are stored locally on your computer and never sent over the internet.)