MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_unicode_ci
Database Collation: utf8_unicode_ci
All tables: utf8_unicode_ci
All varchar, chars, etc.: utf8_unicode_ci
Server version: 4.1.22-standard
PHP 5
Why is it, that when I type ™©®, etc. into phpMyAdmin I see the characters as intended. However, when posting directly into mysql ($_POST['foo']) using PHP 5, and then looking at them again in phpMyAdmin I see crap?
if I print_r($_POST) in the PHP page, the characters are there, perfect.
If I insert directly via the post
I see crap.
It's only after the INSERT that I see the problem.




Bookmarks