'Similar test to test_with_args but with special characters.'

def test_get_args_with_encoding(self):

    if six.PY3:
        args = {'params': '\xc3\xa5\xc3\xa4\xc3\xb6'}
    else:
        args = {'param': u'\xe5\xe4\xf6'}
    data = {self.url_name_arg: 'home_args', self.args_prefix: [1, 2, 3]}
    data.update(args)
    query_dict = QueryDict('', mutable=True)
    query_dict.update(args)
    request = self.factory.get(AngularUrlMiddleware.ANGULAR_REVERSE, data=data)
    self.middleware.process_request(request)
    self.assertEqual(request.GET, query_dict)
