Sometimes when you copy text from Microsoft Word or some other editor and use it in a text editor to be updated in the database, chances are that you will get some weird characters. So before using data from another source you should first clean it using the code below
<?php $text = "Some weird characters: รครณ"; $text = preg_replace('/[^(\x20-\x7F)]*/','', $text); ?>
More PHP tips