[eluser]cleansugar[/eluser]
On upload library example source in official manual with winXP Korean.
In view it's header has <meta http-equiv=content-type content="text/html; charset="UTF-8">.
When I upload Korean file named like 가.jpg it returns next error:
'upload_destination_error'] = "A problem was encountered while attempting to move the uploaded file to the final destination."
print_r($this->upload->data()); returns:
Array ( [file_name] => 가.JPG [file_type] => image/jpeg [file_path] => C:/xampp/htdocs/hello/uploads/ [full_path] => C:/xampp/htdocs/hello/uploads/가.JPG [raw_name] => 가 [orig_name] => 가.JPG [file_ext] => .JPG [file_size] => 94.03 [is_image] => 1 [image_width] => [image_height] => [image_type] => [image_size_str] => )
If a.jpg is in korean named folder is uploaded, it works ok.
If I change <meta http-equiv=content-type content="text/html; charset="EUC_KR"> it works well.
Why? and how to fix this?
Is this CI bug?