Posted By

glpunk on 11/10/11


Tagged

php utf8 function


Versions (?)

UTF8 verify


 / Published in: PHP
 

  1. function is_valid_utf8_iconv(&$str){
  2. $out = iconv("UTF-8", "UTF-8", $str);
  3. return ($out == $str) ? 1 : 0;
  4. }

Report this snippet  

You need to login to post a comment.