What ' means
It can end your quoted text too early.
In Python and JavaScript, 'don't' closes at the apostrophe inside the word. Write 'don\'t' or "don't" instead: the backslash protects the internal mark, or double quotes surround the text.
Ordinary punctuation; misplaced apostrophes make edited writing look careless.
Don't add an apostrophe just to make an ordinary English noun plural.
Part of collections
Don't confuse it with
6





Combination ideas
4Questions people ask
1Why does ' show as a box on some devices?
Because that device's fonts have no glyph for it. The character is still correct and still copies correctly — the box is a missing glyph, not a broken character.
Collections with '
7How to type or find '
- Also called
- single quote · straight quote · typewriter apostrophe
- Search it as
- apostrophe s
- Shows up in
- Anything that takes text · its shape is whatever your font draws
Codes and encoding1 code points
A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.




