[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 path names
2011/1/26 Andreas Olsson <andreas@arrakis.se>:
> ons 2011-01-26 klockan 11:20 +0100 skrev Johan Brinch:
>> I get a lot of warnings from Tarsnap regarding UTF-8 path names, such as:
>>
>> tarsnap: SOMEPATH: Can't translate pathname 'SOMEPATH' to UTF-8
>>
>> However, if I run the convmv tool on the path, I'm told that it's already UTF-8.
>
> Perhaps something related to your cron environment? Does it help if you
> add something like this early on in your backup script?
>
> export LANG=en_US.UTF-8
>
Hmm, I fixed some path names that were in fact latin1 and it now works
when run manually. However, when it ran as a cronjob this morning, it
failed on paths that are and were UTF-8. I'll have to keep an eye on
the cron script logs to see if this happens again.
--
Johan Brinch