One must explicitly tell the Log4perl-appenders to deal with utf8.
Poor utf8 in Perl.
this patch adds utf8=1 to log4perl.conf
Created attachment 60912 [details] [review]
Bug 18227 - Koha::Logger utf8 handling defeating "wide characters in print"
No more wide characters in print when logging to a file with Koha::Logger.
Test with this string
Patch no longer applies (missing dependency?):
Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 18227 - Koha::Logger utf8 handling defeating "wide characters in print"
fatal: sha1 information is lacking or useless (etc/log4perl.conf).
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0001 Bug 18227 - Koha::Logger utf8 handling defeating "wide characters in print"
The copy of the patch that failed is found in:
When you have resolved this problem run "git bz apply --continue".
If you would prefer to skip this patch, instead run "git bz apply --skip".
To restore the original branch and stop patching run "git bz apply --abort".
Patch left in /tmp/Bug-18227---KohaLogger-utf8-handling-defeating-wid-VJmYgV.patch
Assigning to Olli-Antti as he provided the patch.