C:
char c = '\u2012';
printf("%c\n", c); // Output: ‒
JavaScript:
const char = '\u2012';
console.log(char); // Output: ‒
Java:
char c = '\u2012';
System.out.println(c); // Output: ‒
JSON:
{"text": "\u2012"} // Value: ‒
Python:
char = '\u2012'
print(char) # Output: ‒
Perl:
my $char = "\x{2012}";
print $char; # Output: ‒
PHP:
$char = "\x{2012}";
echo $char; // Output: ‒
Ruby:
char = "\u{2012}"
puts char # Output: ‒
Rust:
let c = '\u{2012}';
println!("{}", c); // Output: ‒
Go:
char := '\u2012'
fmt.Printf("%c\n", char) // Output: ‒
CSS:
/* CSS content property */
.element::before {
content: "\002012"; /* Display: ‒ */
}
HTML Decimal:
<p>HTML decimal: ‒</p> <!-- Display: ‒ -->
HTML Hexadecimal:
<p>HTML hex: ‒</p> <!-- Display: ‒ -->
URL Encoding:
// ‒ URL encoding
https://unicodefinder.com/search.php?query=%E2%80%92
MD5:
865766f122e5e2d90313a8d4bf42c34a
SHA1:
938210a23d936d1d5e3fafea2e7099e7176bad73
Base64:
4oCS