C:
char c = '\u1F642';
printf("%c\n", c); // Output: 🙂
JavaScript:
const char = '\u1F642';
console.log(char); // Output: 🙂
Java:
char c = '\u1F642';
System.out.println(c); // Output: 🙂
JSON:
{"text": "\u1F642"} // Value: 🙂
Python:
char = '\u1F642'
print(char) # Output: 🙂
Perl:
my $char = "\x{1F642}";
print $char; # Output: 🙂
PHP:
$char = "\x{1F642}";
echo $char; // Output: 🙂
Ruby:
char = "\u{1F642}"
puts char # Output: 🙂
Rust:
let c = '\u{1F642}';
println!("{}", c); // Output: 🙂
Go:
char := '\u1F642'
fmt.Printf("%c\n", char) // Output: 🙂
CSS:
/* CSS content property */
.element::before {
content: "\01F642"; /* 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=%F0%9F%99%82
MD5:
5c8d6d302301d0e25c0e051418dff305
SHA1:
0402582bd3af1f752930098a7807f72f362184f6
Base64:
8J+Zgg==