[tahoe-dev] [tahoe-lafs] #629: 'tahoe backup' doesn't tolerate 8-bit filenames

Zooko Wilcox-O'Hearn zooko at zooko.com
Sun May 24 10:03:56 PDT 2009


On May 24, 2009, at 10:03 AM, Shawn Willden wrote:

> Not entirely related, but I'm (finally!) getting back to work on my  
> GridBackup app, and I think I've decided to simplify my approach to  
> filename encoding issues.

Hooray!

> I've decided that since the common case is that files will be  
> restored to a system with the same encoding they were backed up  
> from, it doesn't make sense to put a great deal of effort into  
> converting everything into proper Unicode to support cross-platform  
> restores.

Hm.  Once Tahoe-LAFS itself gets an encoding story worked out [*]  
then we'll see whether GridBackup can leverage that solution.

It sounds to me like your design will store enough information to  
enable any possible future improvement, but that the first version  
will give mojibake results if you backup from a linux system (even  
one with all filenames correctly encoded using the declared locale)  
and then restore on a mac system.  Is that your intent?

Regards,

Zooko

[*] Hopefully in time for the June release, if I get the pycryptopp  
stuff fixed by then and/or if someone else helps review François'  
patches.

---
Tahoe, the Least-Authority Filesystem -- http://allmydata.org
store your data: $10/month -- http://allmydata.com/?tracking=zsig
I am available for work -- http://zooko.com/résumé.html



More information about the tahoe-dev mailing list