Possible Duplicate:
Looking for case insensitive MySQL collation where “a” != “ä”
I'm struggling with this utf8
nonsense, I create a test table:
CREATE TABLE `test` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
I insert a single row:
INSERT INTO `test`(`name`) VALUES ('Cryptïc');
I query against the table:
SELECT `name` FROM `test` WHERE `name` LIKE 'Cryptic';
I get result set:
+---------+
| name |
+---------+
| Cryptïc |
+---------+
i
should not equal ï
, a little help?