代码:
public function index(){ $path='G:/相片/2014.9.8深圳莲花山/IMG_1282.JPG'; $path=iconv('utf-8','gb2312',$path);//转码,使汉子路径能解析 copy($path,'d:/a.jpg'); }