Skip to content

Commit

Permalink
default to utf-8 in test app
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Sutherland committed Apr 15, 2013
1 parent aeed705 commit 84bdeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/testbrowser/tests/test_browser.py
Expand Up @@ -65,7 +65,7 @@ def __init__(self):

def add_response(self, body, headers=None, status='200', reason='OK'):
if headers is None:
headers = [('Content-Type', 'text/html'),
headers = [('Content-Type', 'text/html; charset="UTF-8"'),
('Content-Length', str(len(body)))]
resp = dict(body=body, headers=headers, status=status, reason=reason)
self.responses.append(resp)
Expand Down

0 comments on commit 84bdeb2

Please sign in to comment.