projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
160bfa7
)
Make sure STDOUT is using utf8. Per report from Emmanuel Lesouef
author
Greg Sabino Mullane
<
[email protected]
>
Fri, 10 Feb 2012 16:20:21 +0000
(11:20 -0500)
committer
Greg Sabino Mullane
<
[email protected]
>
Fri, 10 Feb 2012 16:20:21 +0000
(11:20 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 22f3b44082d5e18ba0abd87f515aea48b9b2e247..83da8c05a31b52afc4a63db2606c58ff7e9b7789 100755
(executable)
--- 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 /;