Unicode Character 'HYPHEN-MINUS' (U+002D) |
![]() |
| Unicode Data | |
|---|---|
| Name | HYPHEN-MINUS |
| Block | Basic Latin |
| Category | Punctuation, Dash [Pd] |
| Combine | 0 |
| BIDI | European Number Separator [ES] |
| Mirror | N |
| Index entries | hyphus hyphen or minus sign HYPHEN-MINUS minus sign, hyphen or |
| Comments | hyphen, dash minus sign used generically for hyphen, minus sign or en dash, all of which have dedicated alternatives |
| See Also | soft hyphen U+00AD modifier letter minus sign U+02D7 hyphen U+2010 non-breaking hyphen U+2011 figure dash U+2012 en dash U+2013 hyphenation point U+2027 hyphen bullet U+2043 minus sign U+2212 roman uncia sign U+10191 |
| Version | Unicode 1.1.0 (June, 1993) |
| Encodings | |
|---|---|
| HTML Entity (decimal) | - |
| HTML Entity (hex) | - |
| How to type in Microsoft Windows | Alt +002D Alt 045 Alt 45 |
| UTF-8 (hex) | 0x2D (2d) |
| UTF-8 (binary) | 00101101 |
| UTF-16 (hex) | 0x002D (002d) |
| UTF-16 (decimal) | 45 |
| UTF-32 (hex) | 0x0000002D (002D) |
| UTF-32 (decimal) | 45 |
| C/C++/Java source code | "\u002D" |
| Python source code | u"\u002D" |
| More... | |
| Java Data | |
|---|---|
| string.toUpperCase() | - |
| string.toLowerCase() | - |
| Character.UnicodeBlock | BASIC_LATIN |
| Character.charCount() | 1 |
| Character.getDirectionality() | DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR [4] |
| Character.getNumericValue() | -1 |
| Character.getType() | 20 |
| Character.isDefined() | Yes |
| Character.isDigit() | No |
| Character.isIdentifierIgnorable() | No |
| Character.isISOControl() | No |
| Character.isJavaIdentifierPart() | No |
| Character.isJavaIdentifierStart() | No |
| Character.isLetter() | No |
| Character.isLetterOrDigit() | No |
| Character.isLowerCase() | No |
| Character.isMirrored() | No |
| Character.isSpaceChar() | No |
| Character.isSupplementaryCodePoint() | No |
| Character.isTitleCase() | No |
| Character.isUnicodeIdentifierPart() | No |
| Character.isUnicodeIdentifierStart() | No |
| Character.isUpperCase() | No |
| Character.isValidCodePoint() | Yes |
| Character.isWhitespace() | No |