Alexander writes:

> >#------------------------------------------------------------------------
> ># Version 3.1.0beta0, 3 Sep 2007
> >#------------------------------------------------------------------------
> >* Made the default charset for BackupPC_zipCreate cp1252, which
> >  appears to work correctly with WinZip.
> 
> I think it was not good idea to fix charset. In some countries people
> using national charsets. For example in Russia we are using cp1251. I
> believe that $Conf{ClientCharset} is more appropriate (as it was in
> version 3.0.0.).

The problem is two fold:

  - $Conf{ClientCharset} represents what the XferMethod delivers, not
    necessarily what is actually on the clien. For example, smb by
    default it will deliver utf8 encoding, so $Conf{ClientCharset}
    is set to utf8.

  - I don't know how charsets work with win zip format files.  Is the
    encoding included in the file?  Is it just interpreted using the
    local charset when you extract?  I don't know.  Can anyone help
    here?

> Additionally I found no way to set cp1251 when restore through CGI.

Yes, unfortunately the charset can't be set via CGI.
You can, however, do it from the command line.

Craig

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to