Inserting UTF-8 encoded string into UTF-8 encoded

2019-01-12 04:46发布

问题:

Inserting UTF-8 encoded string into UTF-8 encoded table gives incorrect string value.

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9D\x84\x8E i...' for column 'body_value' at row 1: INSERT INTO

I have a

标签: php mysql drupal