Gday All,
I have a baffling problem whilst trying to insert some chinese characters into my MySQL database from PHP using mysqlnd.
I have a form that accepts some details, eg Internal Name, External Name, Shot Name, etc...
I enter "语言测试" (Language Testing) into all three fields in the form.
I am submitting my information using an inner join eg:
UPDATE table1 INNER JOIN table2(table1.name = "value1", table2.ext_name = "value2", table2.ext_name = "value3")
Where both tables and the fields in question are set to utf8_general_ci (I have also tried utf8_bin)
The the insert works correctly however I am seeing two values inserted into the database.
In table one I see "è¯è¨€æµ‹è¯•" and in table two I see "语言测试".
What could be causing my insert of exactly the same data from the same php form to show up differently in two separate MySQL database tables?