There is a file in the utf-8 encoding, it describes the structure of the database. Utf-8 database encoding. For table field there is the following definition
title VARCHAR(255) NOT NULL DEFAULT 'Нет заголовка' I create the structure through the console by request
source "путь к файлу" As a result, when creating a record without specifying the title field, we get scribbles. I look at scribbles through phpmyadmin, so the console encoding has nothing to do with it.