Supposing your want to be sure that $string is composed by valid UTF-8 characters: $string = iconv("UTF-8","UTF-8//IGNORE",$string);.
確定! 回上一頁