php - how to insert utf-8 format in database with latin collation and table with utf8 collation -


How to incorporate the UTF8 format into a table with Latin collation and UTF 8 collation ?!

I want to include some of my own php files in WordPress database tables, but this is not working, if I am changing dotbesai collation to utif 8_gigcle_c, then it should be in database compilation Do not want to change it, do yourself wordpress with it and there is no problem with it, سلام -> ????

You can try

  $ mysqli-> set_curset ( "Utf8");  

Before you insert one.


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -