Marek,
Thank you for your advice. I've wrapped my variable like so:
htmlspecialchars( $HTTP_POST_VARS['introJ'], ENT_COMPAT, "UTF-8")
and that seems to have made the variables store and display okay. I
actually have no idea what the "ENT_COMPAT" bit is doing, but
experimentation has taug
Dave wrote:
PHP General,
The Situation:
I am creating a form for users to enter text into a MySQL 3.23
database. The text is often in Japanese, encoded in utf-8 format.
The Problem:
When the utf-8 encoded text is inserted into the database, it becomes
random ASCII gibberish.
What
PHP General,
The Situation:
I am creating a form for users to enter text into a MySQL 3.23
database. The text is often in Japanese, encoded in utf-8 format.
The Problem:
When the utf-8 encoded text is inserted into the database, it
becomes random ASCII gibberish.
What I've Tried
3 matches
Mail list logo