㎜ is the Unicode character SQUARE MM, code point U+339C (decimal 13212) in the CJK Compatibility block, added in Unicode 1.1. In HTML write ㎜, and in UTF-8 it is the 3 bytes E3 8E 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+339C |
| Decimal | 13212 |
| UTF-8 bytes | E3 8E 9C |
| UTF-16 (big-endian) | 339C |
| UTF-32 | 0000339C |
| HTML decimal | ㎜ |
| HTML hex | ㎜ |
| CSS | \339C |
| JavaScript | \u339C |
| JSON | \u339C |
| Python | \u339C |
| Python by name | \N{SQUARE MM} |
| Java, C# | \u339C |
| Rust, Swift | \u{339C} |
| Go, C, C++ | \u339C |
| URL (percent-encoded) | %E3%8E%9C |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | SQUARE MM |
| Code point | U+339C (decimal 13212) |
| Block | CJK Compatibility (U+3300–U+33FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
SQUARE MM has a compatibility decomposition (square) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in CJK Compatibility
- ㎔ U+3394 Square Thz
- ㎕ U+3395 Square Mu L
- ㎖ U+3396 Square Ml
- ㎗ U+3397 Square Dl
- ㎘ U+3398 Square Kl
- ㎙ U+3399 Square Fm
- ㎚ U+339A Square Nm
- ㎛ U+339B Square Mu M
- ㎝ U+339D Square Cm
- ㎞ U+339E Square Km
- ㎟ U+339F Square Mm Squared
- ㎠ U+33A0 Square Cm Squared
- ㎡ U+33A1 Square M Squared
- ㎢ U+33A2 Square Km Squared
- ㎣ U+33A3 Square Mm Cubed
- ㎤ U+33A4 Square Cm Cubed
All 256 characters: CJK Compatibility.
Official reference
Questions people ask
- What is the HTML code for ㎜?
- Use ㎜ (decimal) or ㎜ (hex).
- What is the UTF-8 encoding of U+339C?
- E3 8E 9C (hex), 3 bytes. In a URL it is %E3%8E%9C.
- How do I write U+339C in JavaScript or Python?
- JavaScript: \u339C. Python: \u339C.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in