From bd26b078ca652649aeb28a0be55d199d696610a6 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sun, 3 Aug 2014 17:34:18 +0200 Subject: [PATCH] Issue 1468, accents in python files --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 3e252e81..6dffb61a 100644 --- a/wscript +++ b/wscript @@ -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):