X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fsbin%2Frt-dump-database;h=ce023adabcd1ebd19ab0dea1d528051a43be2444;hp=6175a1043c1277e013d10c7ce1be3fa5c4ac6b38;hb=e70abd21bab68b23488f7ef1ee2e693a3b365691;hpb=b4b0c7e72d7eaee2fbfc7022022c9698323203dd diff --git a/rt/sbin/rt-dump-database b/rt/sbin/rt-dump-database index 6175a1043..ce023adab 100755 --- a/rt/sbin/rt-dump-database +++ b/rt/sbin/rt-dump-database @@ -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;