Commit 1b65779a authored by Stefan Behnel's avatar Stefan Behnel

fix source comments for non-ASCII characters

parent e8a5b5fc
......@@ -749,7 +749,7 @@ class GlobalState(object):
u'/*', u'/[inserted by cython to avoid comment start]*'
)
for line in source_desc.get_lines(encoding='ASCII',
error_handling='replace')]
error_handling='ignore')]
if len(F) == 0: F.append(u'')
self.input_file_contents[source_desc] = F
return F
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment