MySQL throws an error on INSERT QUERY when two different strings jardiniere and jardinière are inserted in a column (named word
) having UNIQUE KEY enabled.
Error: #1062 - Duplicate entry 'jardinière' for key 'word'
I've also included following line before INSERT Query (in PHP File)
mysqli_set_charset($con, "utf8");
How can I resolve this error?