diff --git a/kll.py b/kll.py index 61fda0c..1ad0244 100755 --- a/kll.py +++ b/kll.py @@ -691,7 +691,7 @@ def parse( tokenSequence ): def processKLLFile( filename ): - with open( filename ) as file: + with open( filename, encoding='utf-8' ) as file: data = file.read() try: tokenSequence = tokenize( data )