C:
char c = '\u2764';
printf("%c\n", c); // Output: ❤
JavaScript:
const char = '\u2764';
console.log(char); // Output: ❤
Java:
char c = '\u2764';
System.out.println(c); // Output: ❤
JSON:
{"text": "\u2764"} // Value: ❤
Python:
char = '\u2764'
print(char) # Output: ❤
Perl:
my $char = "\x{2764}";
print $char; # Output: ❤
PHP:
$char = "\x{2764}";
echo $char; // Output: ❤
Ruby:
char = "\u{2764}"
puts char # Output: ❤
Rust:
let c = '\u{2764}';
println!("{}", c); // Output: ❤
Go:
char := '\u2764'
fmt.Printf("%c\n", char) // Output: ❤
CSS:
/* CSS content property */
.element::before {
content: "\002764"; /* 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%9D%A4
MD5:
7aba075adb50a589f94c87fb569882dc
SHA1:
ef2a3a99e89feb76551f335da0c3c44f81bce2f5
Base64:
4p2k