tareq1988 / wp-eloquent

Eloquent ORM for WordPress
https://tareq.co/2015/05/eloquent-orm-in-wordpress/
566 stars 135 forks source link

Special characters in model's attributes converted to question mark before being saved into database #23

Closed hungluu closed 8 years ago

hungluu commented 8 years ago

Hi there.

I tried to save a model with attribute's value like 'Mử' but it's converted into 'M?' . All collation is set to 'latin1_general_ci'. Hope you can help me out.

BTW thank you for the awesome package.

hungluu commented 8 years ago

Never mind, I changed into 'utf8_general_ci' and it works fine. Thank you