X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fi18n%2Fdefault.t;h=d98828f0be6a73f1e7d9a712837381e1c1b1d143;hb=5b3efac57771fbc37874a3dd39d3df835cdd6133;hp=ea0848f544dd9d2e63df876cddf082021a31d38a;hpb=008524b8e963831999983769f7fec11f55a72f16;p=freeside.git diff --git a/rt/t/i18n/default.t b/rt/t/i18n/default.t index ea0848f54..d98828f0b 100644 --- a/rt/t/i18n/default.t +++ b/rt/t/i18n/default.t @@ -13,10 +13,10 @@ $m->content_contains(''); $m->add_header('Accept-Language' => 'zh-tw,zh;q=0.8,en-gb;q=0.5,en;q=0.3'); $m->get_ok('/'); -use utf8; -Encode::_utf8_on($m->{content}); -$m->title_is('登入', 'Page title properly translated to chinese'); -$m->content_contains('密碼','Password properly translated'); +$m->title_is( Encode::decode("UTF-8",'登入'), + 'Page title properly translated to chinese'); +$m->content_contains( Encode::decode("UTF-8",'密碼'), + 'Password properly translated'); { local $TODO = "We fail to correctly advertise the langauage in the block"; $m->content_contains('');