import rt 3.8.8
[freeside.git] / rt / sbin / rt-dump-database
index 6175a10..ce023ad 100755 (executable)
 # 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;