From 839318dcb617ee8e572f41d1079c9a1ccf7c438e Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 6 Mar 2011 08:05:40 +1300 Subject: [PATCH] Fixing a utf8 issue with the translator tests (cherry picked from commit 7c97e0bfe7ae18694437e03814b8f61811493593) Signed-off-by: Chris Nighswonger --- xt/author/translatable-templates.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xt/author/translatable-templates.t b/xt/author/translatable-templates.t index 1a54a9626f..0c2e4778c5 100644 --- a/xt/author/translatable-templates.t +++ b/xt/author/translatable-templates.t @@ -17,6 +17,7 @@ use File::Temp qw/tempdir/; use IPC::Open3; use File::Spec; use Symbol qw(gensym); +use utf8; my $po_dir = tempdir(CLEANUP => 1); @@ -38,7 +39,7 @@ sub test_string_extraction { while () { # ignore some noise on STDERR next if /^\.* done\.$/; - next if /^\.* termin\?\.$/; + next if /^\.* terminé\.$/; next if /^Warning: Can't determine original templates' charset/; next if /^Warning: Charset Out defaulting to/; next if /^Removing empty file /; -- 2.39.5