subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Krey <a.k...@gmx.de>
Subject Re: Can't convert string from native encoding to 'UTF-8' problems
Date Thu, 14 Jul 2011 05:11:06 GMT
On Wed, 13 Jul 2011 22:55:24 +0000, Stefan Sperling wrote:
...
> Try setting the environment variable in your crontab instead.
> Put this in your crontab:
> 
>   LC_ALL=en_US.UTF-8
>   * * * * * /root/test >> /var/log/test.log 2>&1
> 
> I think that should work. Most cron programs support setting environment
> variables like this.

And if they don't something along

  * * * * * /usr/bin/env LC_ALL=en_US.UTF-8 /root/test >> /var/log/test.log 2>&1

should do the trick. Also, then you are sure it only affects this line.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

Mime
View raw message