ANSI code for apostrophe (')

You reached us perhaps looking for answers to questions like: What is the ANSI value of apostrophe or maybe, how to encode apostrophe in ANSI? The decimal code for apostrophe is 39. This is equivalent to the hexa-decimal number 27. This character is also called . Here is the information about the ANSI code for apostrophe ('):

'
Decimal: 39
Hexa-decimal: 27
HTML Entity: '
Description: apostrophe

A note on ANSI (Windows-1252)

ANSI is also known as Windows-1252. On the other hand, ISO-8859-1 and windows-1252 (ANSI) are very similar. The difference is in the characters associated with the 32 byte values from 0x80 to 0x9F. In iso-8859-1, these characters are mapped to control characters while in windows-1252 (ANSI) are mapped to printable characters such as the ™ trade mark sign (dec = 153). The control characters are useless in HTML, do not declare iso-8859-1 in a html page and try to use these 32 values, although, browsers change these iso-8859-1 characters by the corresponding windows-1252.

Printable ANSI Characters

GlyphNumberEntityDescription
32space
!33exclamation mark
"34"quotation mark
#35number sign
$36dollar sign
%37percent sign
&38&ampersand
'39apostrophe
(40left parenthesis
)41right parenthesis
*42asterisk
+43plus sign
,44comma
-45hyphen-minus
.46full stop
/47solidus
048digit zero
149digit one
250digit two
351digit three
452digit four
553digit five
654digit six
755digit seven
856digit eight
957digit nine
:58colon
;59semicolon
<60&lt;less-than sign
=61equals sign
>62&gt;greater-than sign
?63question mark
@64commercial at
A65Latin capital letter A
B66Latin capital letter B
C67Latin capital letter C
D68Latin capital letter D
E69Latin capital letter E
F70Latin capital letter F
G71Latin capital letter G
H72Latin capital letter H
I73Latin capital letter I
J74Latin capital letter J
K75Latin capital letter K
L76Latin capital letter L
M77Latin capital letter M
N78Latin capital letter N
O79Latin capital letter O
P80Latin capital letter P
Q81Latin capital letter Q
R82Latin capital letter R
S83Latin capital letter S
T84Latin capital letter T
U85Latin capital letter U
V86Latin capital letter V
W87Latin capital letter W
X88Latin capital letter X
Y89Latin capital letter Y
Z90Latin capital letter Z
[91left square bracket
\92reverse solidus
]93right square bracket
^94circumflex accent
_95low line
`96grave accent
a97Latin small letter a
b98Latin small letter b
c99Latin small letter c
d100Latin small letter d
e101Latin small letter e
f102Latin small letter f
g103Latin small letter g
h104Latin small letter h
i105Latin small letter i
j106Latin small letter j
k107Latin small letter k
l108Latin small letter l
m109Latin small letter m
n110Latin small letter n
o111Latin small letter o
p112Latin small letter p
q113Latin small letter q
r114Latin small letter r
s115Latin small letter s
t116Latin small letter t
u117Latin small letter u
v118Latin small letter v
w119Latin small letter w
x120Latin small letter x
y121Latin small letter y
z122Latin small letter z
{123left curly bracket
|124vertical line
}125right curly bracket
~126tilde
not used127not used
128&euro;euro sign
not used129not used
130&sbquo;single low-9 quotation mark
ƒ131&fnof;Latin small letter f with hook
132&bdquo;double low-9 quotation mark
133&hellip;horizontal ellipsis
134&dagger;dagger
135&Dagger;double dagger
ˆ136&circ;modifier letter circumflex accent
137&permil;per mille sign
Š138&Scaron;Latin capital letter S with caron
139&lsaquo;single left-pointing angle quotation mark
Œ140&OElig;Latin capital ligature OE
not used141not used
Ž142&Zcaron;Latin capital letter Z with caron
not used143not used
not used144not used

Printable ANSI Characters cont.

GlyphNumberEntityDescription
145&lsquo;left single quotation mark
146&rsquo;right single quotation mark
147&ldquo;left double quotation mark
148&rdquo;right double quotation mark
149&bull;bullet
150&ndash;en dash
151&mdash;em dash
˜152&tilde;small tilde
153&trade;trade mark sign
š154&scaron;Latin small letter s with caron
155&rsaquo;single right-pointing angle quotation mark
œ156&oelig;Latin small ligature oe
157not used
ž158&zcaron;Latin small letter z with caron
Ÿ159&Yuml;Latin capital letter Y with diaeresis
160&nbsp;no-break space
¡161&iexcl;inverted exclamation mark
¢162&cent;cent sign
£163&pound;pound sign
¤164&curren;currency sign
¥165&yen;yen sign
¦166&brvbar;broken bar
§167&sect;section sign
¨168&uml;diaeresis
©169&copy;copyright sign
ª170&ordf;feminine ordinal indicator
«171&laquo;left-pointing double angle quotation mark
¬172&not;not sign
­173&shy;soft hyphen
®174&reg;registered sign
¯175&macr;macron
°176&deg;degree sign
±177&plusmn;plus-minus sign
²178&sup2;superscript two
³179&sup3;superscript three
´180&acute;acute accent
µ181&micro;micro sign
182&para;pilcrow sign
·183&middot;middle dot
¸184&cedil;cedilla
¹185&sup1;superscript one
º186&ordm;masculine ordinal indicator
»187&raquo;right-pointing double angle quotation mark
¼188&frac14;vulgar fraction one quarter
½189&frac12;vulgar fraction one half
¾190&frac34;vulgar fraction three quarters
¿191&iquest;inverted question mark
À192&Agrave;Latin capital letter A with grave
Á193&Aacute;Latin capital letter A with acute
Â194&Acirc;Latin capital letter A with circumflex
Ã195&Atilde;Latin capital letter A with tilde
Ä196&Auml;Latin capital letter A with diaeresis
Å197&Aring;Latin capital letter A with ring above
Æ198&AElig;Latin capital letter AE
Ç199&Ccedil;Latin capital letter C with cedilla
È200&Egrave;Latin capital letter E with grave
É201&Eacute;Latin capital letter E with acute
Ê202&Ecirc;Latin capital letter E with circumflex
Ë203&Euml;Latin capital letter E with diaeresis
Ì204&Igrave;Latin capital letter I with grave
Í205&Iacute;Latin capital letter I with acute
Î206&Icirc;Latin capital letter I with circumflex
Ï207&Iuml;Latin capital letter I with diaeresis
Ð208&ETH;Latin capital letter Eth
Ñ209&Ntilde;Latin capital letter N with tilde
Ò210&Ograve;Latin capital letter O with grave
Ó211&Oacute;Latin capital letter O with acute
Ô212&Ocirc;Latin capital letter O with circumflex
Õ213&Otilde;Latin capital letter O with tilde
Ö214&Ouml;Latin capital letter O with diaeresis
×215&times;multiplication sign
Ø216&Oslash;Latin capital letter O with stroke
Ù217&Ugrave;Latin capital letter U with grave
Ú218&Uacute;Latin capital letter U with acute
Û219&Ucirc;Latin capital letter U with circumflex
Ü220&Uuml;Latin capital letter U with diaeresis
Ý221&Yacute;Latin capital letter Y with acute
Þ222&THORN;Latin capital letter Thorn
ß223&szlig;Latin small letter sharp s
à224&agrave;Latin small letter a with grave
á225&aacute;Latin small letter a with acute
â226&acirc;Latin small letter a with circumflex
ã227&atilde;Latin small letter a with tilde
ä228&auml;Latin small letter a with diaeresis
å229&aring;Latin small letter a with ring above
æ230&aelig;Latin small letter ae
ç231&ccedil;Latin small letter c with cedilla
è232&egrave;Latin small letter e with grave
é233&eacute;Latin small letter e with acute
ê234&ecirc;Latin small letter e with circumflex
ë235&euml;Latin small letter e with diaeresis
ì236&igrave;Latin small letter i with grave
í237&iacute;Latin small letter i with acute
î238&icirc;Latin small letter i with circumflex
ï239&iuml;Latin small letter i with diaeresis
ð240&eth;Latin small letter eth
ñ241&ntilde;Latin small letter n with tilde
ò242&ograve;Latin small letter o with grave
ó243&oacute;Latin small letter o with acute
ô244&ocirc;Latin small letter o with circumflex
õ245&otilde;Latin small letter o with tilde
ö246&ouml;Latin small letter o with diaeresis
÷247&divide;division sign
ø248&oslash;Latin small letter o with stroke
ù249&ugrave;Latin small letter u with grave
ú250&uacute;Latin small letter u with acute
û251&ucirc;Latin small letter u with circumflex
ü252&uuml;Latin small letter u with diaeresis
ý253&yacute;Latin small letter y with acute
þ254&thorn;Latin small letter thorn
ÿ255&yuml;Latin small letter y with diaeresis

Non-printable ANSI Chars

 Char Number Description
NUL 00 null character
SOH 01 start of header
STX 02 start of text
ETX 03 end of text
EOT 04 end of transmission
ENQ 05 enquiry
ACK 06 acknowledge
BEL 07 bell (ring)
BS 08 backspace
HT 09 horizontal tab
LF 10 line feed
VT 11 vertical tab
FF 12 form feed
CR 13 carriage return
SO 14 shift out
SI 15 shift in
DLE 16 data link escape
DC1 17 device control 1
DC2 18 device control 2
DC3 19 device control 3
DC4 20 device control 4
NAK 21 negative acknowledge
SYN 22 synchronize
ETB 23 end transmission block
CAN 24 cancel
EM 25 end of medium
SUB 26 substitute
ESC 27 escape
FS 28 file separator
GS 29 group separator
RS 30 record separator
US 31 unit separator
DEL 127 delete (rubout)

ASCII is a subset of ANSI as the first 127 ANSI (decimal 0-127) is the original ASCII character-set.

See random ANSI Characters