diff options
author | Greg Sabino Mullane | 2012-02-10 16:20:21 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2012-02-10 16:20:21 +0000 |
commit | 9c907703e85e3064a4c1d062c1a068d1be6e7791 (patch) | |
tree | 72d23a422cf35b92e4b323bf16fd355ec858269e /check_postgres.pl | |
parent | 160bfa722f881fbf89a5004b3dcbfa5edcfffff4 (diff) |
Make sure STDOUT is using utf8. Per report from Emmanuel Lesouef
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 22f3b4408..83da8c05a 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -30,6 +30,8 @@ $Data::Dumper::Varname = 'POSTGRES'; $Data::Dumper::Indent = 2; $Data::Dumper::Useqq = 1; +binmode STDOUT, ':utf8'; + our $VERSION = '2.19.0'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; |