On Mon, Jul 08, 2019 at 05:53:22AM -0500, Peng Yu wrote:
I suspect that this is affected by an environment variable.
Most likely. See <https://www.gnu.org/software/gettext/manual/gettext.html#Locale-Environment-Variables> for the environment variables used. LANG is the normal one to set.
My guess would be the system default codeset is iso-8859-1, but you have put a 'export LANG=xx_XX.UTF-8' inside your .bashrc. Cron won't read that by default. You can internet search "cron .bashrc" and find various solutions to the problem.
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
Description: PGP signature