I always get this error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 13: ordinal not in range(128) when ever I try to read in a file to my python program that has an 's. For example the word "It's" would crash my program and I would get this error. Why does it do this?
def readInFile(fileName):
inputFile = open(fileName, 'r')
SomeInput = inputFile.read()
inputFile.close()
return SomeInput