X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=kll.py;h=1ad024496bf7f1563978dbf85f5d2c40222caffa;hb=refs%2Fheads%2Fdonlayout;hp=61fda0c06c4558a271ebcc5f44ad412b16f8ee42;hpb=d3e0c3d7a730d9e72cc5b184f2a0062d5f83dea8;p=kiibohd-kll.git 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 )