Installed xampp stopped Russian characters are added through the form in the database. Before that there was a Denver, everything worked fine. Tell me how to fix the problem. Everywhere used cp-1251.
2 answers
to avoid problems with encoding, you should have the same encoding everywhere
- In DB (both base and tables)
- In the file (html encoding or php file)
- In the meta charset meta tag
- In the browser (in the settings)
- And if possible in htaccess - AddDefaultCharset utf8 (if it is utf8)
If all this did not help, perhaps, as you said, in my.ini, the default encoding is left-handed.
|
Use UTF-8 In the database, set the encoding utf8_general_ci
- And why in Denver everything worked fine. Maybe the problem is in the settings of my.ini? - Andret
|