this can probably be fixed with ``pq(res.content.decode('utf8'))`` or some variation on that. Otherwise, you are at the mercy of libxml's encoding handler.

For example: https://github.com/mozilla/zamboni/blob/master/apps/localizers/tests/test_views.py#L87-L88