Unicode Finder

"–" U+2013(EN DASH)

U+2013
Назва Блоку
General Punctuation
Назва
EN DASH

Programming

C
\u2013
JavaScript
\u2013
Java
\u2013
Json
\u2013
Python
\u2013
Perl
\x{2013}
PHP
\x{2013}
Ruby
\u{2013}
Rust
\u{2013}
Go
\u2013

Web

CSS
\002013
HtmlDecimal
–
HtmlHexadecimal
–
Url
%E2%80%93

Code

MD5
37ce74088416f28dc9bb04355c2e5a28
Sha1
0e467cbe430412b91e1bae0a4b949c8a3f628855
Base64
4oCT

Приклади Використання

Programming Languages

C:

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

JavaScript:

const char = '\u2013';
console.log(char);  // Output: –

Java:

char c = '\u2013';
System.out.println(c);  // Output: –

JSON:

{"text": "\u2013"}  // Value: –

Python:

char = '\u2013'
print(char)  # Output: –

Perl:

my $char = "\x{2013}";
print $char;  # Output: –

PHP:

$char = "\x{2013}";
echo $char;  // Output: –

Ruby:

char = "\u{2013}"
puts char  # Output: –

Rust:

let c = '\u{2013}';
println!("{}", c);  // Output: –

Go:

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

Web Technologies

CSS:

/* CSS content property */
.element::before {
content: "\002013";  /* Display: – */
}

HTML Decimal:

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

HTML Hexadecimal:

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

URL Encoding:

// – URL encoding
https://unicodefinder.com/search.php?query=%E2%80%93

Encodings

MD5:

37ce74088416f28dc9bb04355c2e5a28

SHA1:

0e467cbe430412b91e1bae0a4b949c8a3f628855

Base64:

4oCT