I want to use Cyrillic characters with my simple web app (flask with MySQL DB).
DB charset is set = cp1251 / collation = cp1251_general_ci Charset/collation is specified during application connection to DB as follows:
application.config['SQLALCHEMY_DATABASE_URI'] = f'mysql+mysqlconnector://{creds["user"]}:{creds["pass"]}@{creds["host"]}:{creds["port"]}/{creds["dbname"]}?**charset=cp1251&collation=cp1251_general_ci**'
p.s. It's a small flask web app (pet project). Btw before I used Postgres with no problems (no bothering about charsets/collation). But I had to migrate to MySQL as Postgres is expensive to host @ AWS RDS. So I migrated to MySQL @ some free hosting.
When entering Latin characters it works / when entering Cyrillic letters it stores "????"
Cannot understand what's causing the problem. Thanks for your help!