Re: inserting utf8 from PHP to MySQL makes text unreadable [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 taught me that it won't fly without it.
Thanks for taking the time to help!


--
Dave Gutteridge
dave@xxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux