php - Encoding from a textarea tag -


suppose in form, type within textarea character "ぎ"

at momment of submit text , send page process (i.e. action="site.php"): page send text encode text? or page recieve text?

the point is: form send characters encoded(sequences of bytes) or characters encoded page recieve text form.

is page encoded again when going sended form? cuz text typed not part of source code encoded.

you'll want utf8 encode that

look @ utf8_encode() , utf8_decode()

you'll want multibyte-safe functions


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

php - Time zone issue -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -