Table:
CREATE TABLE `test` (
`f` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Just after connection I send following SQL:
SET NAMES utf8;
Then SQL:
INSERT INTO `test` (`f`) VALUES ("сс-е в терновнике");
As a result in the table I have 1 record with value "с" just up to sign. Is there a chance to correctly handle all such symbols? All this done from PHP if this matters.