digitalfallout
05-21-2008, 04:13 AM
Hi,
I'm trying to get UTF-16 characters into my database properly. I think I've narrowed my problem down to my connection between PHP and MySQL. This apostrophe " ’ " is my specific problem, U+ 2019.
I have all of my collations set to ucs2_unicode_ci (table, db connection type and field holding the values).
I can also generate the SQL query from php, save it to a text file, then copy it into PHPMyAdmin and have it run properly.
But still, no matter what I try my apostrophe turns into "’" when it gets to the database.
Thank you for your help.
I'm trying to get UTF-16 characters into my database properly. I think I've narrowed my problem down to my connection between PHP and MySQL. This apostrophe " ’ " is my specific problem, U+ 2019.
I have all of my collations set to ucs2_unicode_ci (table, db connection type and field holding the values).
I can also generate the SQL query from php, save it to a text file, then copy it into PHPMyAdmin and have it run properly.
But still, no matter what I try my apostrophe turns into "’" when it gets to the database.
Thank you for your help.