[Bug 11156] New: check-url.pl is not utf friendly
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 Bug ID: 11156 Summary: check-url.pl is not utf friendly Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: gmcharlt@gmail.com Reporter: srdjan@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org Wide character in print at /usr/share/koha/bin/cronjobs/check-url.pl line 215 The easiest way to quiet this warning is simply to add the :utf8 layer to the output, e.g. binmode STDOUT, ':utf8'. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 Srdjan Jankovic <srdjan@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 --- Comment #1 from Srdjan Jankovic <srdjan@catalyst.net.nz> --- Created attachment 22661 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22661&action=edit bug_11156: binmode STDOUT, ':utf8' 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 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic@tamil.fr --- Comment #2 from Frédéric Demians <frederic@tamil.fr> --- I can't reproduce this bug. I've tried with an URL containing ééé. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 --- Comment #3 from Srdjan Jankovic <srdjan@catalyst.net.nz> --- Then maybe it was not utf chars, maybe it was some Microsoft 1251. I'll try to find what exactly triggered it. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 --- Comment #4 from Srdjan Jankovic <srdjan@catalyst.net.nz> --- This is what I had: http://www.minedu.govt.nz/educationSectors/M�oriEducation/AboutM�oriEducation/WhoWeAre/EngagementWithM�ori/HuiTaumataMatauranga/BetterRelationshipsForBetterLearning.aspx -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 --- Comment #5 from Frédéric Demians <frederic@tamil.fr> ---
This is what I had: http://www.minedu.govt.nz/educationSectors/M�oriEducation/ AboutM�oriEducation/WhoWeAre/EngagementWithM�ori/HuiTaumataMatauranga/ BetterRelationshipsForBetterLearning.aspx
Could you copy-paste here the original URL, as it is in your 856 field? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |srdjan@catalyst.net.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #6 from Owen Leonard <oleonard@myacpl.org> --- Where does the error appear? Does it interrupt the check-url process? I tried adding non-ascii characters to some URLs and didn't get the error quoted above. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 --- Comment #7 from Srdjan Jankovic <srdjan@catalyst.net.nz> --- Funny, I cannot reproduce it any more. Could be a paste on MS comp that introduced a funny character. It does not stop the process, just gives an annoying warning which is not nice in a cron job. I think that the change is harmless and maybe warranted, it works as expected with the change, but up to you to take it or not. If I find an example I'll add it here. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11156 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |RESOLVED Resolution|--- |INVALID CC| |jonathan.druart@biblibre.co | |m --- Comment #8 from Jonathan Druart <jonathan.druart@biblibre.com> --- I think we can consider this as invalid. Please reopen if needed. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org