How to check what your database encoding is set to
For a version 5 database, and if you use PHP MyAdmin, you can check what the database is set to by logging into PHP MyAdmin,
This screen shows a typical version 5 MySQL blank database setup settings. For example, my old version 4 database specified the following:
Where en-iso-8859-1 is equivalent to latin1.
However, you must also check what the individual tables are set to by clicking on one of the tables in the left frame:
And you can also check individual fields by clicking on Browse and / or Structure tabs on top:
In text-only mode for those with mobile devices, dialup, and images forcibly turned off: How to check the encoding of your database:
Open your database in PHP MyAdmin and click on the database name. Check your database collation type (note: this column will not be shown for MySQL version 4, since it defaulted to latin1).
With an incorrect import to MySQL version 5, collation will be listed as:
latin1_general_ci
or latin1_german_ci, or latin1_swedish_ci, or similar.
Your task is to have the collation set to:
utf8_general_ci
If you get it, utf8_unicode is a worse option according to my limited research (but I may be wrong on this one).
˅˅˅ Additional valuable information is available at one of the links below: ˅˅˅
Did you like the article? Let Google Search know by clicking this button:
Page last modified 31-Dec-12 22:09:27 EST
Previous page: Preliminary Reading
Next page: What will not work