Unicode Finder

"―" U+2015(HORIZONTAL BAR)

U+2015
Назва Блоку
General Punctuation
Назва
HORIZONTAL BAR

Programming

C
\u2015
JavaScript
\u2015
Java
\u2015
Json
\u2015
Python
\u2015
Perl
\x{2015}
PHP
\x{2015}
Ruby
\u{2015}
Rust
\u{2015}
Go
\u2015

Web

CSS
\002015
HtmlDecimal
―
HtmlHexadecimal
―
Url
%E2%80%95

Code

MD5
5acf7b46084dbd10a4912193cd6373d6
Sha1
78955653a123a277f21a22a5f5ac09d5d26bd60d
Base64
4oCV

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

Programming Languages

C:

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

JavaScript:

const char = '\u2015';
console.log(char);  // Output: ―

Java:

char c = '\u2015';
System.out.println(c);  // Output: ―

JSON:

{"text": "\u2015"}  // Value: ―

Python:

char = '\u2015'
print(char)  # Output: ―

Perl:

my $char = "\x{2015}";
print $char;  # Output: ―

PHP:

$char = "\x{2015}";
echo $char;  // Output: ―

Ruby:

char = "\u{2015}"
puts char  # Output: ―

Rust:

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

Go:

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

Web Technologies

CSS:

/* CSS content property */
.element::before {
content: "\002015";  /* Display: ― */
}

HTML Decimal:

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

HTML Hexadecimal:

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

URL Encoding:

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

Encodings

MD5:

5acf7b46084dbd10a4912193cd6373d6

SHA1:

78955653a123a277f21a22a5f5ac09d5d26bd60d

Base64:

4oCV