Skip to content

utf-8出错 #94

@zhsui19

Description

@zhsui19

运行命令:LeaderfHistoryCmd ,出错如下:

Traceback (most recent call last):
File "", line 1, in
File "/root/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 726, in startExplorer
content = self._getExplorer().getContent(*args, **kwargs)
File "/root/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/historyExpl.py", line 22, in getContent
tmp = lfEval("@x")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 13: invalid start byte

python是系统自带的版本3.6.3,vim已设置utf-8编码,工作正常的。看了半天,不知道bug出在哪儿

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions