I have an array of Arabic strings, and I want to add them to my tables in MySQL. I can display the strings using the php print
normally, however, when I add this string to the table using PDO, in phpMyAdmin, I see the record of this string as a bunch of question marks (?) and other characters. I looked around for what is happening, and one of the things I saw was to change the collation to cp1256_general_ci
however this keeps the same things, a bunch of question marks (?) and other characters.
I was using MAMP on mac, but because I read that cp1256 is windows, I am using XAMPP on windows now.
How can I add the Arabic strings to the table, and be able to see them in phpMyAdmin normally?
EDIT:
I tried to query the table with the weird strings to see if it works, but I got black rhombus shapes and question marks.