I have ActiveForm with yii2-tinymce-widget. It works but I’m facing an issue with some specific characters. So far, I have found that characters like č (c with caron) or ľ (l with caron) are causing PDOException:
SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC4\x8D</p>' for column 'obsah' at row 1
However, some other characters with diacritic works okay.I have already tried to replace TinyMCE with Redactor and CKEditor but it failed with the same error.
Other fields (even field with my custom widget) accept these language-specific characters and write them to database without any trouble.
Please, do you have any ideas how to fix this ?