How to solve the bug with encoding when you select in postgresql?

0 like 0 dislike
5 views
In General...
Don't know what changed, but when you get out select error: character with byte sequence of encoding "utf8" has no equivalent in "win1251", how to solve the issue?

About the same garbage when from csv file into database insert...
by | 5 views

1 Answer

0 like 0 dislike
new_string = old_string.decode('utf-8') try?
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
asked Apr 11, 2019 by Karmov69
110,608 questions
257,186 answers
0 comments
32,702 users