[Windows] Path is encoded and can't be jumped onto
Created by: ceilfors
The issue is caused by the autojump_utils#encode_local
that is called by print_local
. When I change the print_local
to normal python print
function, autojump works in Windows.
Result of autojump.py with print_local (broken) b'C:\j\foo'
Result of autojump.py with print (fixed) C:\j\foo
This issue is happening for tab completion too + other features of autojump.
Debugging information String before encode_local: C:\j\foo After encoded with utf-8: b'C:\j\foo' After encoded with sys.getfilesystemencoding(): b'C:\j\foo' Value of sys.getfilesystemencoding(): mbcs
Environment Windows 7 64-bit
Symptom
autojump.txt writing is successful (contains data)
Error message:
autojump: directory foo not found
try autojump --help
for more information