Commit 4be9a02f authored by Andreas Jung's avatar Andreas Jung

ignore '*' as encoding

parent f74304d2
......@@ -80,6 +80,8 @@ class PreferredCharsetResolver:
request.__zpt_available_charsets = charsets
for enc in charsets:
if enc == '*': continue
try:
return unicode(text, enc)
except UnicodeDecodeError:
......
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