##// END OF EJS Templates
catch another unconditional encode in completerlib...
MinRK -
Show More
@@ -68,7 +68,8 b' def shlex_split(x):'
68 68
69 69 # shlex.split has unicode bugs, so encode first to str
70 70 if isinstance(x, unicode):
71 x = x.encode(sys.stdin.encoding)
71 # don't raise errors on encoding:
72 x = x.encode(sys.stdin.encoding or sys.getdefaultencoding(), 'replace')
72 73
73 74 endofline = []
74 75 while x != '':
General Comments 0
You need to be logged in to leave comments. Login now