Question: How can I store Text written in Arabic into MySQL table?
Current situation: I always get this error
Warning: #1366 Incorrect string value: '\xD8\xAD\xD8\xB1\xD9\x81' for column 'arabic' at row 1
every time I try to input something in Arabic, I googled a bit and found that setting charset into utf8_bin is solution, so I tried that and yet still getting same error, and the data is stored as "?????"
Example
UPDATE `ci`.`patients` SET `Name` = 'حرف' WHERE `patients`.`ID` =3;
Result
??? is stored into DB