-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgExpl.py line 955 #948
Comments
复现不了。 |
奇怪,我搜出来的是
|
不是rg的问题,在命令行下用没问题。不知道为什么我的vim中,那些非ascii字符为什么被过滤掉了。 |
如果 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在用rg -e全局搜索后,用Q将结果导入quickfix的时候,如果结果里有一些特殊字符, json.dumps(items) 这里就会crash报错.
我在里面加了个参数 json.dumps(items, ensure_ascii=False) 来解决问题。
希望能在复现后修复这个问题。
一个比较简单的复现方法是去搜索vim的runtime/tutor下面的小语种的比如tutor.sv里的单词,哪怕搜的只是普通单词,只要搜索结果里同一行有那种不在字符集里面的特殊字符,导入quickfix时候就会报错。
The text was updated successfully, but these errors were encountered: