From 746b4127cd13346cf01680e91edb9452462276ce Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 21 Apr 2011 19:25:21 +0200 Subject: [PATCH] fix unprefixed strings with non-UTF8 source code encoding in Py3 --- Cython/Compiler/Code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Code.py b/Cython/Compiler/Code.py index 51aa4256..dcfad313 100644 --- a/Cython/Compiler/Code.py +++ b/Cython/Compiler/Code.py @@ -762,8 +762,8 @@ class GlobalState(object): py_string.cname, py_string.py3str_cstring.cname, py_string.py3str_cstring.cname, - encoding, - 1, 1, 0, + '0', 1, 0, + py_string.intern )) w.putln("#else") w.putln( -- 2.26.2