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
1 changed files with 1 additions and 1 deletions

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):