vtigercrm upload file with chinese name to document

modify the file data/CRMEntity.php

line:
$upload_status = move_uploaded_file($filetmp_name,$upload_file_path.$current_id.”_”.$binFile);

to:
$upload_status = move_uploaded_file($filetmp_name,$upload_file_path.$current_id.”_”.iconv(“UTF-8”, “gb2312”,$binFile));