https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7305

--- Comment #1 from Mark Martinec <[email protected]> ---
I see, it probably comes from the localized date (month) format.
To reproduce:

LC_ALL=zh_TW.UTF-8 perl -MPOSIX -le 'print POSIX::strftime("%b %d
%H:%M",localtime)'
Wide character in print at -e line 1.
 6月 20 12:32

I suppose the sa-update needs the same setlocale as in spamd:

  use POSIX qw(locale_h setsid sigprocmask _exit);
  POSIX::setlocale(LC_TIME,'C');

Actually this also affects spamassassin -D, and probably
sa-learn and sa-compile with debugging enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to