╱ is the Unicode character BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT, code point U+2571 (decimal 9585) in the Box Drawing block, added in Unicode 1.1. In HTML write ╱, and in UTF-8 it is the 3 bytes E2 95 B1.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2571 |
| Decimal | 9585 |
| UTF-8 bytes | E2 95 B1 |
| UTF-16 (big-endian) | 2571 |
| UTF-32 | 00002571 |
| HTML decimal | ╱ |
| HTML hex | ╱ |
| CSS | \2571 |
| JavaScript | \u2571 |
| JSON | \u2571 |
| Python | \u2571 |
| Python by name | \N{BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT} |
| Java, C# | \u2571 |
| Rust, Swift | \u{2571} |
| Go, C, C++ | \u2571 |
| URL (percent-encoded) | %E2%95%B1 |
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 | BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT |
| Code point | U+2571 (decimal 9585) |
| Block | Box Drawing (U+2500–U+257F) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Box Drawing
- ╩ U+2569 Box Drawings Double Up And Horizontal
- ╪ U+256A Box Drawings Vertical Single And Horizontal Double
- ╫ U+256B Box Drawings Vertical Double And Horizontal Single
- ╬ U+256C Box Drawings Double Vertical And Horizontal
- ╭ U+256D Box Drawings Light Arc Down And Right
- ╮ U+256E Box Drawings Light Arc Down And Left
- ╯ U+256F Box Drawings Light Arc Up And Left
- ╰ U+2570 Box Drawings Light Arc Up And Right
- ╲ U+2572 Box Drawings Light Diagonal Upper Left To Lower Right
- ╳ U+2573 Box Drawings Light Diagonal Cross
- ╴ U+2574 Box Drawings Light Left
- ╵ U+2575 Box Drawings Light Up
- ╶ U+2576 Box Drawings Light Right
- ╷ U+2577 Box Drawings Light Down
- ╸ U+2578 Box Drawings Heavy Left
- ╹ U+2579 Box Drawings Heavy Up
All 128 characters: Box Drawing.
Official reference
Questions people ask
- What is the HTML code for ╱?
- Use ╱ (decimal) or ╱ (hex).
- What is the UTF-8 encoding of U+2571?
- E2 95 B1 (hex), 3 bytes. In a URL it is %E2%95%B1.
- How do I write U+2571 in JavaScript or Python?
- JavaScript: \u2571. Python: \u2571.
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