BackupPC-users

[BackupPC-users] Special Characters UTF-8 in config files

2012-09-05 10:11:51
Subject: [BackupPC-users] Special Characters UTF-8 in config files
From: Hans <mail AT arcasys DOT de>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 5 Sep 2012 14:07:57 +0000 (UTC)
By default backuppc assumes UTF-8 as character set. Everything works fine
even if there are filenames containing special characters like German Umlaute.
With one exception: 
If there's a configuration entry like 

$Conf{BackupFilesOnly} = {
  '/home1' => [
    '/company/Projekte',
    "/company/B\x{fc}ro"
  ]
};

the content of BackupFilesOnly will be correctly shown iin the we interface as
'/company/Büro' but this directory will never be included in the backup
unless both

$Conf{ClientCharset} = 'UTF-8';
$Conf{ClientCharsetLegacy} = 'UTF-8';

have been set to 'UTF-8' as shown.
This does not spring to mind when you read the documentation for 
Conf{ClientCharsetLegacy}. Is there an explanation for this behavior?

Thanks
Hans





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] Special Characters UTF-8 in config files, Hans <=