Apostrophe in binary code
AnswerApostrophe ' is 00100111 in binary — ASCII code 39.
012806413201608141211
How apostrophe becomes 00100111
The character’s code is 39. Writing 39 as a sum of powers of two gives 32 + 4 + 2 + 1 = 39. Put a 1 under each place value used and a 0 everywhere else, and you get 00100111.
| Binary (8-bit) | 00100111 |
|---|---|
| Decimal (ASCII code) | 39 |
| Hexadecimal | 27 (0x27) |
| Octal | 047 |
| Unicode | U+0027 |
| HTML entity | ' |
Frequently asked questions
What is apostrophe in binary?
Apostrophe is 00100111 in 8-bit binary. That is ASCII and UTF-8 code 39, which is 32 + 4 + 2 + 1 = 39.