Answer the question
In order to leave comments, you need to log in
Recording Cyrillic in the database?
There is a problem with writing Cyrillic characters to the database...
For some reason, an empty string is written or nothing is written at all...
File encoding - UTF-8 without bom
Table encoding - utf_8_general_ci
Connection encoding - UTF-8 ( $this->DBH->exec ('SET NAMES utf8'); )
But still nothing is written, what could be the reason?
Answer the question
In order to leave comments, you need to log in
Throw the code with which you write to the database and what engine is used there (MyISAM / InnoDB etc ...).
By the way, "$this->DBH->exec('SET NAMES utf8');" this does not expose the connection encoding..)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question