Answer the question
In order to leave comments, you need to log in
How to read unicode character from .txt without broken characters?
I need to read a unicode character from a .txt, but when I try to read the character it gives a strange result.
The code:
txt = open("test.txt","r")
print(txt.read())
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question