Unicode Finder

"-" U+002D(HYPHEN-MINUS)

-
U+002D
Block Name
Basic Latin
Name
HYPHEN-MINUS

Programming

C
\u002D
JavaScript
\u002D
Java
\u002D
Json
\u002D
Python
\u002D
Perl
\x{002D}
PHP
\x{002D}
Ruby
\u{002D}
Rust
\u{2D}
Go
\u002D

Web

CSS
\00002D
HtmlDecimal
-
HtmlHexadecimal
-
Url
-

Code

MD5
336d5ebc5436534e61d16e63ddfca327
Sha1
3bc15c8aae3e4124dd409035f32ea2fd6835efc9
Base64
LQ==

Usage Examples

Programming Languages

C:

char c = '\u002D';
printf("%c\n", c);  // Output: -

JavaScript:

const char = '\u002D';
console.log(char);  // Output: -

Java:

char c = '\u002D';
System.out.println(c);  // Output: -

JSON:

{"text": "\u002D"}  // Value: -

Python:

char = '\u002D'
print(char)  # Output: -

Perl:

my $char = "\x{002D}";
print $char;  # Output: -

PHP:

$char = "\x{002D}";
echo $char;  // Output: -

Ruby:

char = "\u{002D}"
puts char  # Output: -

Rust:

let c = '\u{2D}';
println!("{}", c);  // Output: -

Go:

char := '\u002D'
fmt.Printf("%c\n", char)  // Output: -

Web Technologies

CSS:

/* CSS content property */
.element::before {
content: "\00002D";  /* Display: - */
}

HTML Decimal:

<p>HTML decimal: &#45;</p>  <!-- Display: - -->

HTML Hexadecimal:

<p>HTML hex: &#x002D;</p>  <!-- Display: - -->

URL Encoding:

// - URL encoding
https://unicodefinder.com/search.php?query=-

Encodings

MD5:

336d5ebc5436534e61d16e63ddfca327

SHA1:

3bc15c8aae3e4124dd409035f32ea2fd6835efc9

Base64:

LQ==