Hei,
Firstly be sure you have this meta in html tag
<meta charset="UTF-8">
You can check also with this line in php, above you mysql extraction
header('Content-type: text/html; charset=utf-8');
If you store your special character in database as html code like this '
which is '
when you extract try to use this php function
htmlspecialchars_decode($your_text_from_db);