[Koha-patches] [PATCH] bug_11156: binmode STDOUT, ':utf8'
Srdjan
srdjan at catalyst.net.nz
Fri Nov 1 05:25:48 CET 2013
This is a noop.
To test:
* Run misc/cronjobs/check-url.pl
If you *really* want to test, place some non-ascii bogus urls in 856
and observe absence of "wide character" warning
---
misc/cronjobs/check-url.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/misc/cronjobs/check-url.pl b/misc/cronjobs/check-url.pl
index 589a4c5..61162b8 100755
--- a/misc/cronjobs/check-url.pl
+++ b/misc/cronjobs/check-url.pl
@@ -222,6 +222,8 @@ EOS
# BEGIN
+binmode STDOUT, ':utf8';
+
usage() if $help;
if ( $html && !$host_pro ) {
--
1.8.1.2
More information about the Koha-patches
mailing list