forked from VimPlug/jedi
fix encoding problems with terminal
This commit is contained in:
@@ -185,5 +185,7 @@ except ImportError:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
encoding = sys.stdout.encoding
|
encoding = sys.stdout.encoding
|
||||||
|
if encoding is None:
|
||||||
|
encoding = 'utf-8'
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
encoding = 'ascii'
|
encoding = 'ascii'
|
||||||
|
|||||||
Reference in New Issue
Block a user