Model Doesn't Save Textarea Message Containing Character "à" (And Others)

I have a form (CActiveForm widget) with a textarea. When I input there a message that contains a character "à" - it saves only the part of the message that comes before the "à".

For example, if I input "xxxx-à-yyyyy" and save the form, in the database there would be "xxxx-".

Please suggest how to fix this.

what encoding are you using for your database?

it’s utf8, and in Yii’s config/main.php - components - db I set it explicitly as … ‘charset’ => ‘utf8’ …

utf8_unicode_ci, utf8_general_ci or other?


COLLATE utf8_general_ci;