Closed nicoddemus closed 1 year ago
currently iniconfog is NOT unicode aware ^^ see #4
now that pytest 5 is out i believe we can support unicode markers in some sense and default to utf8 or BOM detection
i tried proposed fix locally and it seams to work f = open(self.path, encoding='utf-8')
closing as likely solved by #49
Reported originally in https://github.com/pytest-dev/pytest/issues/3799 by @edsion1107
@edsion1107 a PR here (with accompanying test) would be welcome!
pytest.ini:
I have tried to add Chinese comment ,then this error occurs:
I tried to fix this error: