From c1f639d230bb32a10e8bc2400354bbb433335834 Mon Sep 17 00:00:00 2001 From: francois Date: Tue, 11 Nov 2008 14:08:03 -0700 Subject: [PATCH] Fix an filename encoding issue with "tahoe cp" --- src/allmydata/scripts/tahoe_cp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/scripts/tahoe_cp.py b/src/allmydata/scripts/tahoe_cp.py index 91cc1ea2..243fef80 100644 --- a/src/allmydata/scripts/tahoe_cp.py +++ b/src/allmydata/scripts/tahoe_cp.py @@ -340,7 +340,7 @@ class TahoeDirectoryTarget: if self.writecap: url = self.nodeurl + "/".join(["uri", urllib.quote(self.writecap), - urllib.quote(name)]) + urllib.quote(name.encode('utf-8'))]) self.children[name] = TahoeFileTarget(self.nodeurl, mutable, writecap, readcap, url) else: -- 2.45.2