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'.
Created attachment 22661 [details] [review] 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
I can't reproduce this bug. I've tried with an URL containing ééé.
Then maybe it was not utf chars, maybe it was some Microsoft 1251. I'll try to find what exactly triggered it.
This is what I had: http://www.minedu.govt.nz/educationSectors/M�oriEducation/AboutM�oriEducation/WhoWeAre/EngagementWithM�ori/HuiTaumataMatauranga/BetterRelationshipsForBetterLearning.aspx
> 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?
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.
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.
I think we can consider this as invalid. Please reopen if needed.