DevKits

ASCII 174

Registered Sign (®)

Latin-1 Supplement

Registered trademark (®). Marks a registered trademark, as opposed to ™ which is unregistered.

Common uses & context

Decimal 174 (0xAE) is Registered Sign, part of the Latin-1 Supplement (128–255). Registered trademark (®). Marks a registered trademark, as opposed to ™ which is unregistered. It renders as '®' and its binary byte is 10101110.

This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) '®' is the single byte 0xAE. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC2 0xAE. Treating a Latin-1 byte as UTF-8 (or vice versa) is the usual reason accented letters and symbols turn into mojibake like é or €. The Unicode code point is U+00AE, and in HTML you can write it as ® or ®.

All encodings at a glance

Decimal174
Hexadecimal0xAE
Octal0256
Binary10101110
HTML numeric entity®
HTML named entity®
URL encoding%AE
UTF-8 bytes0xC2 0xAE

Code snippets

JavaScript

String.fromCharCode(174); // "®"
174.toString(16); // "ae"

Python

chr(174)           # control char ®
ord(chr(174))      # 174
hex(174)           # '0xae'

HTML

&reg;   <!-- named entity -->
&#174;   <!-- numeric entity -->

Programming notes

  • Single byte 0xAE in Latin-1, but the multi-byte sequence 0xC2 0xAE in UTF-8 — never assume one byte per character above code 127.
  • Unicode code point U+00AE; HTML entity &reg;.
  • If '®' shows as mojibake, the encoding declared and the encoding used disagree — align both on UTF-8.

Unicode & UTF-8 note

In Unicode this is U+00AE. In UTF-8 it encodes to the byte sequence 0xC2 0xAE. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xAE, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Frequently asked questions

What character is ASCII code 174?

ASCII code 174 is the character '®' (Registered Sign). In hexadecimal it is 0xAE, in octal 0256, and in binary 10101110.

What is 0xAE in ASCII?

Hexadecimal 0xAE equals decimal 174, which is the character '®' (Registered Sign). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0xAE = 174) and look up that code point.

How do I write the character with code 174 in code?

In JavaScript use String.fromCharCode(174); in Python use chr(174); in HTML use the numeric entity &#174; or the named entity &reg;. In a URL it is percent-encoded as %AE, and in UTF-8 it is stored as the byte sequence 0xC2 0xAE.

Is '®' part of standard ASCII?

No. Standard ASCII covers codes 0–127 only. '®' is code 174, part of the Latin-1 Supplement (128–255, sometimes called "extended ASCII"). It is a single byte 0xAE in Latin-1 but a multi-byte sequence (0xC2 0xAE) in UTF-8.

Nearby codes

Encode & convert this character