C:
char c = '\u9541';
printf("%c\n", c); // Output: 镁
JavaScript:
const char = '\u9541';
console.log(char); // Output: 镁
Java:
char c = '\u9541';
System.out.println(c); // Output: 镁
JSON:
{"text": "\u9541"} // Value: 镁
Python:
char = '\u9541'
print(char) # Output: 镁
Perl:
my $char = "\x{9541}";
print $char; # Output: 镁
PHP:
$char = "\x{9541}";
echo $char; // Output: 镁
Ruby:
char = "\u{9541}"
puts char # Output: 镁
Rust:
let c = '\u{9541}';
println!("{}", c); // Output: 镁
Go:
char := '\u9541'
fmt.Printf("%c\n", char) // Output: 镁
CSS:
/* CSS content property */
.element::before {
content: "\009541"; /* 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=%E9%95%81
MD5:
72ea26ee17d4b00572a21103e3597ead
SHA1:
b06450068f4b71421eb4f2dc678c985d47aa7831
Base64:
6ZWB