mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
cli: undo the effects of [http://allmydata.org/trac/tahoe/changeset/20081222235453-92b7f-f841e18afb94e1fd95e6dafb799a3d876dd85c69]
We're just going to mark unicode in the cli as unsupported for tahoe-lafs-1.3.0. Unicode filenames on the command-line do actually work for some platforms and probably only if the platform encoding is utf-8, but I'm not sure, and in any case for it to be marked as "supported" it would have to work on all platforms, be thoroughly tested, and also we would have to understand why it worked. :-)
This commit is contained in:
parent
25d962c67d
commit
883e51b02d
@ -129,4 +129,4 @@ def get_alias(aliases, path, default):
|
||||
|
||||
def escape_path(path):
|
||||
segments = path.split("/")
|
||||
return "/".join([urllib.quote(s.encode('utf-8')) for s in segments])
|
||||
return "/".join([urllib.quote(s) for s in segments])
|
||||
|
@ -33,12 +33,6 @@ def runner(argv,
|
||||
stdin=sys.stdin, stdout=sys.stdout, stderr=sys.stderr,
|
||||
install_node_control=True, additional_commands=None):
|
||||
|
||||
# Convert arguments to unicode
|
||||
new_argv = []
|
||||
for arg in argv:
|
||||
new_argv.append(arg.decode('utf-8'))
|
||||
argv = new_argv
|
||||
|
||||
config = Options()
|
||||
if install_node_control:
|
||||
config.subCommands.extend(startstop_node.subCommands)
|
||||
|
Loading…
x
Reference in New Issue
Block a user