Add new --encoding option (Fixes #2650)
This commit is contained in:
parent
e79162558e
commit
62fec3b2ff
4 changed files with 28 additions and 5 deletions
|
@ -539,7 +539,6 @@ def encodeFilename(s, for_subprocess=False):
|
|||
encoding = 'utf-8'
|
||||
return s.encode(encoding, 'ignore')
|
||||
|
||||
|
||||
def decodeOption(optval):
|
||||
if optval is None:
|
||||
return optval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue