utf 8 - UTF-8 text is garbled when form is posted as multipart/form-data in PHP -


i have php script publish articles. working fine until added file uploading support. enable uploading of files, had change enctype of tag multipart/form-data. now, whenever try submit article multibyte characters, become garbled after receive them via $_post. if remove form's enctype, works fine.

we have searched on web php centric solution without luck. there accept-charset attribute of tag not work in ie. there solution jsp @ utf-8 text garbled when form posted multipart/form-data no solution php. so, please help!

if use php 5.4.x, setting mbstring.http_input "auto" "pass" may solve problem.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -