aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/formatting.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 04b6ee20..567855dc 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -38,7 +38,7 @@ our @EXPORT = qw(format_field format_header localtime2changelog my_fullname pkg2
sub rpm_summary {
my ($summary) = @_;
- utf8::decode($summary);
+ utf8::decode($summary) if !utf8::is_utf8($summary);
$summary;
}