$config['upload_path'] = './uploads/logo/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '0';
$config['max_width'] = '0';
$config['max_height'] = '0';
$this->load->library('upload', $config);
if ( ! $this->upload->do_upload('image_bg'))
{
//$error = array('error' => $this->upload->display_errors());
//$this->load->view('upload_form', $error);
echo 'fail';
}
else
{
//some actions
}
キリル文字の名前のファイルをアップロードすると、見栄えが悪くなります。codeigniter でサーバーにアップロードした後、ファイル名を Windows-1251 Unicode に変換するにはどうすればよいですか?