//also possible to directly use UTF-16:define('SLS',mb_convert_encoding('/','UTF-16'));$temp_s=mb_convert_encoding($s,'UTF-16','UTF-8');$temp_a=str_split($temp_s,4);$temp_s=implode(SLS,$temp_a);$temp_s=mb_convert_encoding($temp_s,'UTF-8','UTF-16');echo($temp_s);?>