ʔ vs '

ʔ
Glottal stop
U+0294
'
apostrophe (typewriter apostrophe)
U+0027

How to tell them apart

The ASCII apostrophe is a straight vertical tick in most fonts, while ʼ and ʻ are curved. Fonts vary, so check the code point.
ʔ
Use ʔ for phonetic transcription of a glottal stop, and orthographies that write it with this exact letter.
'
Use ' for ASCII-only text, code, and the stand-in that keyboards and old web text use in place of ʻ or ʼ.
See the full page for ʔ →