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:
parent
f6aca05fdd
commit
bd26b078ca
2
wscript
2
wscript
@ -246,7 +246,7 @@ def sfilter(path):
|
|||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
if sys.hexversion > 0x030000f0:
|
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)
|
return (io.BytesIO(cnt), len(cnt), cnt)
|
||||||
|
|
||||||
def create_waf(*k, **kw):
|
def create_waf(*k, **kw):
|
||||||
|
Loading…
Reference in New Issue
Block a user