I wish to print out the content of the files uploaded by the user from a input file type. It is passed to backend using post method.
I have done some research but unforturnately I still haven't found a solution that satisfy me. The answer that are close to what I search for is http://be.php.net/manual/vote-note.php?id=91051&page=function.mb-detect-encoding&vote=up
I can get the encoding type of the files and decode it relatively but in the end, other language such as chinese char content won't be shown correctly.
Hopefully someone having same expirience with me previously can lend a hand to me. Thanks in advance.
2 Months Ago
Related Article:php upload file wont work
is a PHP discussion thread by garyjohnson that has 1 reply, was last updated 8 months ago and has been tagged with the keywords: php, upload, godaddy, file.
I have little experience with chinese text, although I've spent a lot of time with other encoding issues. Could you link to a typical file so that we could try to replicate the problem? No point posting the contents as that may not include the BOM, if there is one.