Answer the question
In order to leave comments, you need to log in
From in php to mysql saves krakozyabry?
Hello! Faced such problem - at INSERTe in a DB values are saved there in krakozyabra, a kind ÐÑ?Ñ?кÑ?Ñ?Ñ?н. The encoding on the site is UTF-8 by default. I set utf8_general_ci in the database for the table.
When executed ,
the following is displayed:
character_set_client
utf8mb4
character_set_connection
utf8mb4
character_set_database
utf8
character_set_filesystem
binary
character_set_results
utf8mb4
character_set_server
latin1
character_set_system
utf8
character_sets_dir
/usr/share/mysql/charsets/ .. SHOW VARIABLES LIKE 'char%'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question