SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\\xE4\\xB8\\xB0\\xE5\\xAF\\x8C...' for column 'comment' at row 1 (SQL: insert into `heroes` (`name`, `age`, `comment`) values (fsdfaf, 11, 保存漢字的地方))
登陸 phpMyAdmin 將相應(yīng)字段的“排序規(guī)則”改成“utf8_bin”ok牵触。