Crontab´s charset not in utf-8
ml at bortal.de
ml at bortal.de
Wed Oct 10 18:23:44 UTC 2007
Hello Marius,
thanks for your reply.
Marius Gedminas schrieb:
> On Wed, Oct 10, 2007 at 07:19:02PM +0200, ml at bortal.de wrote:
>
>> Hello List,
>>
>> i have the problem that executed crontab jobs die because they can not
>> hand the german chars such as ö,ä,ä.
>>
>> When i run "locale" from a crontab job, i get:
>> LANG=
>> LC_CTYPE="POSIX"
>>
> ...
>
>> LC_ALL=
>>
>>
>> if i run it from my root shell:
>> LANG=en_US.UTF-8
>> LANGUAGE=en
>> LC_CTYPE="en_US.UTF-8"
>>
> ...
>
>> Any idea how i can set the carset from the crontab to utf-8, too?
>>
>
> Add
>
> LC_CTYPE=en_US.UTF-8
>
> (or LC_ALL=..., depending on your needs) to your crontab file.
>
Where can i read up what LC_CTYPE or LC_ALL means?
And what crontab file do you mean?
Thanks, Mario
More information about the ubuntu-users
mailing list