X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Futf_incoming.t;h=3b8e965f2fb8fb784f4e13498b61365e01f0c5ae;hb=566678d0245e49d7f2f1abce553b5bdb87879086;hp=f04dd1956dfc5ab10d292a252df0f63416751c44;hpb=6adc45cf93c50a080f1f32bad475fd2ab5844887;p=catagits%2FCatalyst-Runtime.git diff --git a/t/utf_incoming.t b/t/utf_incoming.t index f04dd19..3b8e965 100644 --- a/t/utf_incoming.t +++ b/t/utf_incoming.t @@ -142,7 +142,7 @@ use JSON::MaybeXS; ## If someone clears encoding, they can do as they wish sub manual_1 :Local { my ($self, $c) = @_; - $c->encoding(undef); + $c->clear_encoding; $c->res->content_type('text/plain'); $c->res->content_type_charset('UTF-8'); $c->response->body( Encode::encode_utf8("manual_1 ♥"));