How to print a variable having non-English characters to the command prompt using Python
问题 I have a python program that generates a string in Tamil language. For example, the string could be தமிழ் . I could write this exactly as it appears here to a text file by using utf-8 at the time of opening the file. But when I write the same string variable to stdout using print() function it displays 3 what(?) characters surrounded by boxes. I have seen printing of literals like print(b'\xc2\xb5'.decode()) and print (u'\u0420\u043e\u0441\u0441\u0438\u044f') happening properly. But the issue