免费程序在Windows中grep unicode文本文件? [英] Free program to grep unicode text files in Windows?
问题描述
我有一个unicode文本文件(从regedit导出)的集合,我想将它们上面的文本全部拖出来。
I have a collection of unicode text files (exported from regedit) and I'd like to pull out all the lines with a certain text on them.
I已经尝试了 Grep for Windows 和findstr,但两者似乎无法处理unicode编码。我的结果是空的,但是当我使用-v选项(显示不匹配的行)时,输出显示每个字符之间的NUL。
I've tried Grep for Windows and findstr but both can't seem to handle the unicode encoding. My results are empty, but when I use the -v option (show non-matching lines), the output shows a NUL between each character.
是否有任何可用选项在Windows中对Unicode文件执行简单的grep?
Are there any free options to perform a simple grep on Unicode files in Windows?
推荐答案
刚跑过 grepWin ,它完美地适用于我想要的东西。希望我早点找到它!
Just ran across grepWin which works perfectly for what I want here. Wish I would have found it earlier!
这篇关于免费程序在Windows中grep unicode文本文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!