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

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -