nickname)){ $model->nickname= iconv('UTF-8', 'UTF-8//IGNORE', $model->nickname); } } }