Re: Crontab´s charset not in utf-8

Andrew Glen-Young aglenyoung at gmail.com
Wed Oct 10 20:53:28 UTC 2007


On 10/10/2007, Thilo Six <T.Six at gmx.de> wrote:
>
> > Where can i read up what LC_CTYPE or LC_ALL means?
> > And what crontab file do you mean?
> >
> > Thanks, Mario
>
> $ man 1 locale
> $ man 1posix locale
> $ man 7 locale
>

Also:

$ man 5 crontab

You need to add the environment variable to the crontab entry.
e.g.

SHELL=/bin/bash
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE=en_US.UTF-8

* * * * * username command

Or if [command] is a shell script, you can embed these variables in
the script itself

- A.




More information about the ubuntu-users mailing list