SET NAMES utf8; DROP TABLE IF EXISTS testjap; CREATE TABLE testjap (machaine varchar(40)) DEFAULT CHARACTER SET utf8; INSERT INTO testjap VALUES ('¨\something_after'); INSERT INTO testjap VALUES ('something_before¨\something_after '); INSERT INTO testjap VALUES ('¨\\BackSlash_After'); SELECT machaine,hex(machaine) FROM testjap INTO OUTFILE 'jap.res';