From e70abd21bab68b23488f7ef1ee2e693a3b365691 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 18 May 2010 18:49:59 +0000 Subject: import rt 3.8.8 --- rt/sbin/rt-dump-database.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rt/sbin/rt-dump-database.in') diff --git a/rt/sbin/rt-dump-database.in b/rt/sbin/rt-dump-database.in index 878a2091b..cb9f0c3d3 100755 --- a/rt/sbin/rt-dump-database.in +++ b/rt/sbin/rt-dump-database.in @@ -48,6 +48,10 @@ # END BPS TAGGED BLOCK }}} use strict; +# As we specify that XML is UTF-8 and we output it to STDOUT, we must be sure +# it is UTF-8 so further XMLin will not break +binmode(STDOUT, ":utf8"); + # fix lib paths, some may be relative BEGIN { require File::Spec; -- cgit v1.2.1