utf-8問題~怎麼插都亂碼~
drop database if exists `test999`;
CREATE DATABASE test999 DEFAULT CHARACTER SET 'utf8' COLLATE 'utf8_general_ci';
use test999;
CREATE TABLE test ( ID varchar(40) NOT NULL default ''
) CHARSET=utf8 COLLATE=utf8_bin;
insert into test(ID) values ('埗');
select * from test;
+----+
| ID |
+----+
| ? |
+----+