څ is the Unicode character ARABIC LETTER HAH WITH THREE DOTS ABOVE, code point U+0685 (decimal 1669) in the Arabic block, added in Unicode 1.1. In HTML write څ, and in UTF-8 it is the 2 bytes DA 85.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0685 |
| Decimal | 1669 |
| UTF-8 bytes | DA 85 |
| UTF-16 (big-endian) | 0685 |
| UTF-32 | 00000685 |
| HTML decimal | څ |
| HTML hex | څ |
| CSS | \685 |
| JavaScript | \u0685 |
| JSON | \u0685 |
| Python | \u0685 |
| Python by name | \N{ARABIC LETTER HAH WITH THREE DOTS ABOVE} |
| Java, C# | \u0685 |
| Rust, Swift | \u{685} |
| Go, C, C++ | \u0685 |
| URL (percent-encoded) | %DA%85 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | ARABIC LETTER HAH WITH THREE DOTS ABOVE |
| Code point | U+0685 (decimal 1669) |
| Block | Arabic (U+0600–U+06FF) |
| General category | Lo: Other letter |
| Script | Arabic |
| Bidirectional class | AL: Right-to-left (Arabic) |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Arabic
- ٽ U+067D Arabic Letter Teh With Three Dots Above Downwards
- پ U+067E Arabic Letter Peh
- ٿ U+067F Arabic Letter Teheh
- ڀ U+0680 Arabic Letter Beheh
- ځ U+0681 Arabic Letter Hah With Hamza Above
- ڂ U+0682 Arabic Letter Hah With Two Dots Vertical Above
- ڃ U+0683 Arabic Letter Nyeh
- ڄ U+0684 Arabic Letter Dyeh
- چ U+0686 Arabic Letter Tcheh
- ڇ U+0687 Arabic Letter Tcheheh
- ڈ U+0688 Arabic Letter Ddal
- ډ U+0689 Arabic Letter Dal With Ring
- ڊ U+068A Arabic Letter Dal With Dot Below
- ڋ U+068B Arabic Letter Dal With Dot Below And Small Tah
- ڌ U+068C Arabic Letter Dahal
- ڍ U+068D Arabic Letter Ddahal
All 256 characters: Arabic.
Official reference
Questions people ask
- What is the HTML code for څ?
- Use څ (decimal) or څ (hex).
- What is the UTF-8 encoding of U+0685?
- DA 85 (hex), 2 bytes. In a URL it is %DA%85.
- How do I write U+0685 in JavaScript or Python?
- JavaScript: \u0685. Python: \u0685.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in