Skip to content

Commit

Permalink
Merge pull request #210 from kitconcept/fix-unicode-decode-errors-res…
Browse files Browse the repository at this point in the history
…ult-view

Fix UnicodeDecode errors when displaying the result page.
  • Loading branch information
mauritsvanrees authored Mar 6, 2018
2 parents 851e480 + 61f5e32 commit 9ae6087
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<tal:block repeat="field here/fgFields">
<tal:block tal:define="fname field/getName">
<dt tal:content="field/widget/label" />
<dd tal:content="python:request.form.get(fname, 'No Input')" />
<dd tal:content="python: str(request.form.get(fname, 'No Input')).decode('utf-8')" />
</tal:block>
</tal:block>
</dl>
Expand Down

0 comments on commit 9ae6087

Please sign in to comment.