¬ is the Unicode character NOT SIGN, code point U+00AC (decimal 172) in the Latin-1 Supplement block, added in Unicode 1.1. In HTML write ¬, and in UTF-8 it is the 2 bytes C2 AC.
Codes
| Where | How to write it |
|---|---|
| Code point | U+00AC |
| Decimal | 172 |
| UTF-8 bytes | C2 AC |
| UTF-16 (big-endian) | 00AC |
| UTF-32 | 000000AC |
| HTML decimal | ¬ |
| HTML hex | ¬ |
| HTML named | ¬ |
| CSS | \AC |
| JavaScript | \u00AC |
| JSON | \u00AC |
| Python | \u00AC |
| Python by name | \N{NOT SIGN} |
| Java, C# | \u00AC |
| Rust, Swift | \u{AC} |
| Go, C, C++ | \u00AC |
| URL (percent-encoded) | %C2%AC |
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 | NOT SIGN |
| Code point | U+00AC (decimal 172) |
| Block | Latin-1 Supplement (U+0080–U+00FF) |
| General category | Sm: Math symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Latin-1 Supplement
- ¤ U+00A4 Currency Sign
- ¥ U+00A5 Yen Sign
- ¦ U+00A6 Broken Bar
- § U+00A7 Section Sign
- ¨ U+00A8 Diaeresis
- © U+00A9 Copyright
- ª U+00AA Feminine Ordinal Indicator
- « U+00AB Left-Pointing Double Angle Quotation Mark
- U+00AD Soft Hyphen
- ® U+00AE Registered
- ¯ U+00AF Macron
- ° U+00B0 Degree Sign
- ± U+00B1 Plus-Minus Sign
- ² U+00B2 Superscript Two
- ³ U+00B3 Superscript Three
- ´ U+00B4 Acute Accent
All 128 characters: Latin-1 Supplement.
Official reference
Questions people ask
- What is the HTML code for ¬?
- Use the named entity ¬, or ¬ (decimal) or ¬ (hex).
- What is the UTF-8 encoding of U+00AC?
- C2 AC (hex), 2 bytes. In a URL it is %C2%AC.
- How do I write U+00AC in JavaScript or Python?
- JavaScript: \u00AC. Python: \u00AC.
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