ext/mysql charset support vs ext/mysqli charset -


I've read some articles that use new set / mysquiine in PHP because it supports letter sets is. I currently use ext / mysql and use SET NAMES UTF-8 to ensure that all my data can be stored as UTF-8. Does not the charset support in extract / ISSLL, or am I missing something bigger?

thanks :)

SET NAMES UTF-8 This does not mean that the data is stored in UTF-8. This means that the data has been received from the client in UTF-8 and the client has been served in UTF-8.

For example, when you make a db / table / row, the storage encoding is set

  create table {...} CHARSET = utf8;  

or

  Database default character set UTF 8  

Read here:


< P> 2 Lyon mysql just gets right

Please check the encoding once again through tables and rows, for example, phpMyAdmin Remember that the installation of the database The encoding of the encoding tables does not automatically change, it is used only for a default value if the table encoding is depleted Not Specified


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -