Unicode Finder

"镁" U+9541(CJK UNIFIED IDEOGRAPH-9541)

U+9541
区块名称
CJK Unified Ideographs
名称
CJK UNIFIED IDEOGRAPH-9541

Programming

C
\u9541
JavaScript
\u9541
Java
\u9541
Json
\u9541
Python
\u9541
Perl
\x{9541}
PHP
\x{9541}
Ruby
\u{9541}
Rust
\u{9541}
Go
\u9541

Web

CSS
\009541
HtmlDecimal
镁
HtmlHexadecimal
镁
Url
%E9%95%81

Code

MD5
72ea26ee17d4b00572a21103e3597ead
Sha1
b06450068f4b71421eb4f2dc678c985d47aa7831
Base64
6ZWB

使用示例

Programming Languages

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: 镁

Web Technologies

CSS:

/* CSS content property */
.element::before {
content: "\009541";  /* Display: 镁 */
}

HTML Decimal:

<p>HTML decimal: &#38209;</p>  <!-- Display: 镁 -->

HTML Hexadecimal:

<p>HTML hex: &#x9541;</p>  <!-- Display: 镁 -->

URL Encoding:

// 镁 URL encoding
https://unicodefinder.com/search.php?query=%E9%95%81

Encodings

MD5:

72ea26ee17d4b00572a21103e3597ead

SHA1:

b06450068f4b71421eb4f2dc678c985d47aa7831

Base64:

6ZWB