i am using Codeigniter and mysql . when i insert a persian string into mysql via codeIgniter code, '?' will store in field per character.
what is wrong?
for example : 'سلام' ---> '????'
Is your table created with utf8 characterset? Did you call mysql_set_charset to change the charset to utf8 before executing your query?
Read
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With