Greetings How to make a python read from a file and display any unicode characters? Type of such all sorts of things. β β β β ββββββββββββ. When trying to just read
# -*- coding: utf-8 -*- f = open("unicode_symbols.txt", "r") for s in f: print(u""+s) print("\n") displays the following error
return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 18: character maps to <undefined> 
print(open("unicode_symbols.txt", "rb").read())- jfscodecs.open()not needed for Python 2 (io.open()) or Python 3 (whereio.open()is available as built-inopen()) - jfs