ilias writes:
> I've managed to set up backuppc and make backups from windows pcs. I got one
> problem though. Some of my files got Greek filenames which cannot be read
> properly when browsing backups from the WEB GUI of backuppc, however when I
> restore the files, everything is restored properly. I guess the problem is the
> encoding that is used to serve the files. I've tried changing
> AddDefaultCharset
> in httpd.conf to UTF-8 but backuppc continues to view the page using
> ISO-8859-1
> (Western). Normally it should be UTF8.
>
> I have also tried to set UTF8 in config.pl using Conf{ClientCharset} = 'utf8';
> but with no result. Actually this shouldn't be of any use since the transfer
> is
> done in UTF8, the problem is that my http server isn't viewing the Greek named
> files with the proper encoding. Am i right or is there something wrong with
> Backuppc ?
I assume you are running 3.0.0. If not, then that's your problem: prior to
3.x charsets are not supported properly. In 3.0.0 BackupPC's CGI interface
should emit pages only using utf8 encoding.
The correct setting for $Conf{ClientCharset} depends on the XferMethod.
(Note: this config parameter only exists in >= 3.0.0.)
Rsync doesn't change the character encoding, so you need to set
$Conf{ClientCharset} to the local client charset (eg: cp1252 for windows).
Smbclient, on the other hand, by default does map the charset to utf8
(although the "unix charset" in smb.conf can change that), so there
is no need to set $Conf{ClientCharset} (or you should set it to utf8).
Craig
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/