mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update tester to read utf-8
This commit is contained in:
committed by
Christoffer Lerno
parent
4662133893
commit
137b474f44
@@ -12,7 +12,7 @@ class Config:
|
||||
|
||||
class File:
|
||||
def __init__(self, filepath):
|
||||
with open(filepath) as reader:
|
||||
with open(filepath, encoding='utf8') as reader:
|
||||
self.content = reader.read().splitlines()
|
||||
self.filepath = filepath
|
||||
self.filename = os.path.basename(filepath)
|
||||
|
||||
Reference in New Issue
Block a user