I have a table:
CREATE TABLE `msg` (
`content` varchar(255)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
And trying to insert the string 'I You':
INSERT INTO `msg` (`content`) VALUES ('I You');
But getting error:
Incorrect string value: '\xF0\x9F\x92\x9A Y...' for column 'content' at row 1
I think UTF-8 can accommodate any characters. Then why this error?