Unicode Character "-" (U+002D)
The character - (Hyphen-Minus) is represented by the Unicode codepoint U+002D. It is encoded in the Basic Latin block, which belongs to the Basic Multilingual Plane. It was added to Unicode in version 1.1 (June, 1993). It is HTML encoded as -.
Main Unicode Properties
| Name | Hyphen-Minus |
|---|---|
| Unicode Codepoint | U+002D |
| Unicode Version | 1.1 (June, 1993) |
| Block | Basic Latin |
| Plane | Basic Multilingual Plane |
Bidirectional Data
| Bidirectional class | European Separator (ES) |
|---|---|
| Is mirrored? | No |
Other Unicode Data
| Category | Dash Punctuation |
|---|---|
| Script | Code for undetermined script |
| Combining Class | Not Reordered |
U+002D Conversion
| HTML (decimal) | - |
|---|---|
| HTML (hex) | - |
| HTML (named) | - |
| URL Escape Code | %2D |
| CSS | \00002D |
| JavaScript, JSON | \u002D |
| C, C++, Java | \u002D |
| Python | \u002D |
| Rust | \u{002D} |
| Ruby | \u002D |
How to type "-"
Preview
- - Times, Times New Roman, serif
- - Helvetica, Arial, sans-serif
- - Courier, Courier New, monospace
UTF Encodings
| UTF-8 (hex) | 0x2D |
|---|---|
| UTF-16 (hex) | 0x002D |
| UTF-32 (hex) | 0x0000002D |