From: Craig B. <cba...@us...> - 2005-03-14 11:40:26
|
Zolid|Jesper Haggren writes: > I have a newly installed GNU/Linux Debian with backuppc 2.10 installed. > It's purpose is to backup 4 windows-servers. > > Everything is working fine after the installation - but I have some problems > with special-caracters. > > In danish we have 3 speciel caracters: > > Æ > ae > Ø > oe > Å > aa > > (I don't know if foreign mailclients kan see them above). The problem is that > folder with these speciel caracters in their names are not backed up. > > When browsing the backups from the web-interface these folders are displayed - > but when clicking on them I get a "page cannot be displayed error". > > How do I fix this problem? What XferMethod are you using? If it is smbclient you might need to set the codepage correctly in the samba config file. Here's the excerpt from the documentation: Also, to make sure that file names with 8-bit characters are correctly transferred by smbclient you should add this to samba's smb.conf file for samba 2.x: [global] # Accept the windows charset client code page = 850 character set = ISO8859-1 For samba 3.x this should instead be: [global] unix charset = ISO8859-1 This setting should work for western europe. See http://www.o-reilly.com/catalog/samba/chapter/book/ch08_03.html for more information about settings for other languages. Provided the XferMethod delivers the files to BackupPC, it should correctly handle european charsets. That's because it doesn't do anything special to them. On restore the same string should be passed back. However, the file name probably won't be rendered correctly in the CGI interface, since charsets are not currently supported. A future feature for BackupPC is to more diligently support international charsets in the file names. Mostly likely I would use utf8 internally, and add the relevant conversions to/from the client machines, and also make sure the CGI output is rendered correctly. Craig |