What environment variable affects the "charset" variable?
Kevin J. McCarthy
kevin at 8t8.us
Mon Jul 8 13:55:30 UTC 2019
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20190708/34cd2466/attachment.asc>
More information about the Mutt-users
mailing list