Latin character D with stroke
About this character
The character đ is known as Latin character D with stroke and carries the Unicode code point U+0111, which is 273 in decimal. It belongs to the Latin Extended-A block (U+0100–U+017F), which gathers the accented letters of Central and Northern European languages missing from Latin-1, such as Polish, Czech and Hungarian.
In memory, đ takes 2 bytes in UTF-8 (0xC4 0x91) and 1 in UTF-16 (0x0111). That difference is why badly configured forms or databases garble this character: they assume one byte per character.
How to type đ
| System | What to do |
|---|---|
| Windows | In Word or WordPad, type 0111 and press Alt + X to turn the code into the character. |
| macOS | On a Mac, open the Character Viewer with Ctrl + ⌘ + Space and search for “Latin character D with stroke”. |
| Linux | On Linux (GTK), type Ctrl + ⇧ + U, 0111 then press Enter. |
| HTML / Web | In an HTML page, write đ. Use \0111 in CSS, \u0111 in JavaScript and \u0111 in Python. |
| On this site | The simplest route is the Copy button above: the character goes straight to your clipboard, ready to paste anywhere. |
Keyboards that include đ
This character sits directly on the following ClavierVirtuel layouts, where you can click it with the mouse:
Codes and encodings
| Property | Value |
|---|---|
| Code point | U+0111 |
| Unicode block | Latin Extended-A (U+0100–U+017F) |
| Decimal | 273 |
| Hexadecimal | 0x0111 |
| Octal | 0421 |
| Binary | 100010001 |
| UTF-8 bytes | 0xC4 0x91 |
| UTF-16 units | 0x0111 |
| Named HTML entity | None |
| Decimal HTML entity | đ |
| Hex HTML entity | đ |
| CSS escape | \0111 |
| JavaScript escape | \u0111 |
| Python escape | \u0111 |
| URL encoding | %C4%91 |
Frequently asked questions
What is the Unicode code for đ?
Its code point is U+0111, which is 273 in decimal and 0421 in octal. In HTML you can write it as đ or đ.
Why does đ show up as a box or a question mark?
An empty box means the font has no glyph for U+0111. The character is still in the text: switching to a font that covers the block (Noto, DejaVu or Segoe UI Symbol) makes it appear.
Can I use đ in a filename, a URL or a password?
In a URL it must be encoded as %C4%91. Modern filesystems accept it, though it is still risky when moving files between systems. For passwords, some forms reject non-ASCII characters outright.