2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Issue 1468, accents in python files

This commit is contained in:
Thomas Nagy 2014-08-03 17:34:18 +02:00
parent f6aca05fdd
commit bd26b078ca
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -246,7 +246,7 @@ def sfilter(path):
f.close()
if sys.hexversion > 0x030000f0:
return (io.BytesIO(cnt.encode('utf-8')), len(cnt), cnt)
return (io.BytesIO(cnt.encode('utf-8')), len(cnt.encode('utf-8')), cnt)
return (io.BytesIO(cnt), len(cnt), cnt)
def create_waf(*k, **kw):