You are not logged in.

#1 2012-07-06 07:52:28

perost
Member
Registered: 2007-01-23
Posts: 52

Crashplan and UTF-8 filenames

I'm trying to use Crashplan (from AUR with updated daemon script) for some backup, but for some reason it can't handle filenames with swedish characters in them. I have a lot of folders with swedish characters in their names, and I can see them in the Crashplan GUI with the characters displayed as ?. But Crashplan doesn't recognize that as folders, so it doesn't include them in the backup.

LOCALE is set to sv_SE.utf8 in rc.conf, and locale returns sv_SE.utf8 for everything. All text in the GUI itself is displayed correctly when set to swedish though. Anyone know how to solve this? Crashplan seems perfect for my needs, except for this one issue. I'll be out traveling a bit during the weekend, so I might not be able to answer quickly, but all help is appreciated.

Offline

#2 2012-07-06 11:26:28

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Crashplan and UTF-8 filenames

You should probably contact the AUR package maintainer. And/or report this in the package comments thread.


To know or not to know ...
... the questions remain forever.

Offline

#3 2013-05-25 18:04:28

flekmatik
Member
Registered: 2013-05-25
Posts: 1

Re: Crashplan and UTF-8 filenames

Spent several hours working on this on Fedora ... so for anybody interested ... this seems to by caused by "magic"(tm) of Crashplan in bin/CrashPlanEngine:

if [[ ${LC_ALL} ]]; then
        LOCALE=`sed 's/\..*//g' <<< ${LC_ALL}`
        export LC_ALL="${LOCALE}.UTF-8"
elif [[ ${LC_CTYPE} ]]; then
        LOCALE=`sed 's/\..*//g' <<< ${LC_CTYPE}`
        export LC_CTYPE="${LOCALE}.UTF-8"
elif [[ ${LANG} ]]; then
        LOCALE=`sed 's/\..*//g' <<< ${LANG}`
        export LANG="${LOCALE}.UTF-8"
else
        export LANG="en_US.UTF-8"
fi

When i remove this code everything works fine - it may have something to do with locales named with suffix utf8 in Fedora (instead of UTF-8).

Offline

Board footer

Powered by FluxBB