S
S
s71065002019-05-14 10:24:31
SQLite
s7106500, 2019-05-14 10:24:31

How to fix different encodings in SQlite database?

I write text in Russian to the SQLite database. Then I read. Everything works fine.
If you open the database through SQLiteStudio, then the Russian text looks like diamonds.
5cda6cfe3c034176758020.png
If you enter a Russian text there, then it looks like krakozyabry in my program.
It turns out that my program writes in UTF-8, and SQLiteStudio in some other format.
How to make Russian text display correctly in SQLiteStudio?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2019-05-14
@BorisKorobkov

How to make Russian text display correctly in SQLiteStudio?

"It's not me going against the current, this current is going against me!" (C) Film "Give me a book of complaints"
Obviously, someone is setting the encoding incorrectly. And if you choose between a popular application and "Hello word" from a novice coder, then the choice is clearly not in favor of the latter.
Specify your database settings and connection parameters from your script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question