Skip to content
Advertisement

Tag: python-telegram-bot

Cyrillic symbols in SELECT query PostgreSQL

I have a telegram bot (Aiogram, Python), which is connected to PostgreSQL database. If user enters a some username (in Cyrillic, Russian or Ukrainian), bot should return full information about this user, stored in database. The problem is: when bot making query to the database, with username for example “Сергій”, it returns nothing, although information exists in database. I found

Advertisement