Files containing ascii8 are not indexed (feature/request)
还没有人认领这个 Issue。
评估
调研方向
从报告指出应接受 UTF-8 输入的 write.go 开始,使用包含所列高位字符的文件重现该问题。使用 cindex -reset .,然后使用 csearch -i PAT,验证当前行为;当 PAT 能在此类文件中找到,或存在支持此类文件的有文档说明的命令行选项时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
What steps will reproduce the problem?
1. File containing: PAT and ä (0xE4, a umlaut), ö (0xF6,o umlaut), other high
bit ascii chars
2. cindex -reset .
3. csearch -i PAT
What is the expected output? What do you see instead?
Expected to find PAT. Instead no match.
What version of the product are you using? On what operating system?
codesearch-0.01-windows-amd64.zip
Please provide any additional information below.
I looked at the source (write.go) and it seems to expect that files are in
UTF-8 only (this is a Go specification?). However it would be nice if csearch
could be used with any source files, including those with high bit ascii
characters. Or that there would be a command line option for this.
Original issue reported on code.google.com by [email protected] on 21 Nov 2012 at 7:24
- 主要语言
- Go
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jmurzy/codesearch 的其他 Issue
-
auto-migrated Priority-Medium Type-Defect
难度 1/5 1 小时以内 新手友好度 65/100
jmurzy/codesearch#34 ·
-
auto-migrated Priority-Medium Type-Defect
难度 1/5 1 小时以内 新手友好度 65/100
jmurzy/codesearch#31 ·
-
auto-migrated Priority-Medium Type-Defect
难度 2/5 1-3 小时 新手友好度 39/100
jmurzy/codesearch#37 ·
-
auto-migrated Priority-Medium Type-Defect
难度 1/5 1 小时以内 新手友好度 45/100
jmurzy/codesearch#38 ·
-
auto-migrated Type-Patch
难度 1/5 1 小时以内 新手友好度 45/100
jmurzy/codesearch#36 ·
查看 jmurzy/codesearch 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
security
难度 2/5 1-3 小时 新手友好度 68/100
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
难度 1/5 1 小时以内 新手友好度 88/100
wso2/api-platform#4369 ·
维护者通常 1 天内回复