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
Post a Comment