Unicode Code Points for ≠ and ®: Why Neither Is in ASCII

The not-equal sign (U+2260) and registered sign (U+00AE) are outside 7-bit ASCII. Learn their code points, encodings, ASCII fallbacks, and when plain text is safer.

People often search for an ASCII code for the registered sign or the not-equal sign. Neither character has one. ASCII defines only 128 values (0 to 127), and both ® and ≠ fall outside that range. This review covers what each character is at the code-point level, what changes when you swap an ASCII stand-in for the real Unicode character or the reverse, and when the plain ASCII form is the better choice.

Short answer: should you use ® and ≠ or their ASCII stand-ins?

Use the real Unicode characters in prose, documents, web pages and any system that handles UTF-8 correctly. The benefit is a single, precise symbol that most current fonts render and that carries its own meaning. The main tradeoff is compatibility. Any pipeline limited to strict ASCII will reject, replace or garble the characters. That includes some legacy databases, older protocols, certain configuration files and fixed-encoding exports.

Plain ASCII is preferable in three situations. The first is source code, where the operator is literally != (or /=, <>, ~= depending on the language). The second is any destination whose encoding you cannot confirm. The third is text that people will search for or type back in by hand. In those cases, write (R) and != and accept the less polished look.

The code points at a glance

Character | Unicode name | Code point | Decimal | UTF-8 bytes | HTML entities | Common ASCII fallback
® | REGISTERED SIGN | U+00AE | 174 | C2 AE | ® or ® | (R)
≠ | NOT EQUAL TO | U+2260 | 8800 | E2 89 A0 | ≠ or ≠ | != (also /=, <>, ~= by language)

Why there is no "registered ASCII code"

ASCII is a 7-bit standard. Every character in it has a value from 0 to 127, and it contains only basic Latin letters, digits, common punctuation and control codes. The value 174 that people associate with ® comes from ISO-8859-1 (Latin-1) and Windows-1252. These are 8-bit encodings that extend ASCII, and Unicode later adopted the Latin-1 values for its first 256 code points. Calling these "extended ASCII" is common, but it is imprecise. The byte 0xAE means ® only when the text is actually decoded as Latin-1 or Windows-1252.

The Windows keyboard shortcut shows why this matters. Alt+0174 (with the leading zero) types ® because it uses the Windows-1252 code page. Alt+174 without the zero uses the legacy OEM code page instead. On the US default, code page 437, that produces «. The same number gives a different character depending on which encoding interprets it. That is exactly the ambiguity Unicode code points remove. On a US Mac layout, Option+R types ®.

Why the not-equal sign is even further from ASCII

The not-equal sign ≠ is not in Latin-1 or Windows-1252 at all. It lives in the Unicode Mathematical Operators block at U+2260, so no single-byte Western encoding can store it, and its UTF-8 form takes three bytes. On a US Mac layout, Option+= types it. On Windows there is no reliable Alt+number shortcut for it. Typical methods are the character map, an input method, or typing 2260 followed by Alt+X in applications that support that conversion.

Unicode also defines ≠ as canonically equivalent to the equals sign U+003D followed by U+0338 COMBINING LONG SOLIDUS OVERLAY. Under NFD normalization, one visible character becomes two code points. Under NFC, those two code points collapse back into U+2260. ® has no such decomposition and stays a single code point under all normalization forms.

What a substitution actually changes

Replacing (R) with ® or != with ≠ is a stored-character change, not a styling effect. The underlying bytes differ, so anything that compares, searches, parses or encodes the text will treat the two forms as different. The ASCII form uses several characters: (R) is three and != is two. The Unicode form is one character. That changes string length counts and the exact text a search must match.

This differs from programming-font ligatures. Fonts with ligatures can draw != so that it looks like ≠ on screen. That is visual presentation only: the file still contains an exclamation mark and an equals sign, and the compiler sees != as usual. If you copy that code, you copy the ASCII characters, not the symbol. Typing a real U+2260 into most programming languages causes a syntax error, because the language does not recognize it as an operator.

>>> ord('®'), hex(ord('®'))
(174, '0xae')
>>> ord('≠'), hex(ord('≠'))
(8800, '0x2260')
>>> '®'.encode('utf-8'), '≠'.encode('utf-8')
(b'\xc2\xae', b'\xe2\x89\xa0')
>>> '®'.encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 0: ordinal not in range(128)

The snippet shows standard Python string and codec behavior. The traceback has been shortened to its final line. The ASCII codec rejects ® because 174 is above 127, and it would reject ≠ for the same reason.

A note on reversal and mirror tools

Text reversal tools often reverse by code point. ® survives this unchanged because it is a single code point. ≠ is safe only if the text is in its composed form. If the text has been normalized to NFD, ≠ is stored as = followed by a combining overlay. Reversing per code point then puts the overlay before the equals sign, and it either attaches to the wrong character or renders as a stray mark. A reversal tool that works on grapheme clusters avoids this. Without testing a specific tool, you cannot assume it does. Neither character has a mirrored counterpart in Unicode, so "mirrored" output only looks mirrored through CSS or image transforms. The stored characters stay the same.

Copying, sharing, accessibility and search

  • Copy and paste: Between modern applications that use UTF-8 or UTF-16, both characters normally copy as themselves. Problems appear when text passes through a step with a fixed legacy encoding. Typical results there are a question mark, a replacement box, or mojibake such as ® (UTF-8 bytes misread as Windows-1252).
  • Fonts: ® is in nearly every text font. ≠ is widely supported but missing from some decorative or minimal fonts. In those cases the system substitutes a fallback font, or the character shows as an empty box.
  • Screen readers: Whether ® is announced as "registered" and ≠ as "not equal" depends on the screen reader, its symbol dictionary and the user's punctuation verbosity settings. No scoped test results were supplied for this review, so no specific product's behavior is claimed here. Where meaning matters, such as an inequality in instructions, also state it in words.
  • Search and find: A search for != will not find ≠, and a search for (R) will not find ®, unless the search system normalizes or maps them. Most do not, so pick one form and use it consistently.
  • Editing: Readers who need to reproduce the text may not know how to type ≠. Offering != or "not equal to" alongside it lowers that barrier.

When to keep a plain-text equivalent

Keep an ASCII or written-out equivalent in these cases: when the text feeds code or configuration, when it will pass through email, SMS or export systems whose encoding you have not verified, when it must be searchable by people typing on a basic keyboard, and when a screen reader user must understand the symbol's meaning rather than just its presence. For the registered sign specifically, whether (R) is an acceptable substitute for a trademark notice is a legal question outside the scope of this article.

Evidence gaps

The code points, encodings, normalization behavior and keyboard methods above are documented standard behavior. No tests of specific destinations were supplied for this review: no named platforms, messaging apps, content management systems or assistive technologies. Statements about rendering and announcement therefore describe general patterns, not verified results. If your workflow depends on a particular destination, test both characters there before publishing.