eints allows submitting strings with disallowed UTF8 characters
还没有人认领这个 Issue。
评估
调研方向
Start by reading the linked strgen block at src/strgen/strgen_base.cpp:735-740 and the referenced commit to understand which UTF-8 characters OpenTTD rejects. Then trace how eints validates submitted strings and compare its behavior for U+200B; done means eints rejects disallowed characters before they cause a build failure.
由索引模型根据 Issue 内容生成。
描述
Specifically, U+200B (zero-width space)
Results in build failure:
/home/runner/work/OpenTTD/OpenTTD/src/lang/japanese.txt:2405: FATAL: Unwanted UTF-8 character U+200B in sequence '{BLACK}道路の種類を変更/アップグレードします.Shiftは、コスト見積もりの作成/表示を切り替えます'
see https://github.com/OpenTTD/OpenTTD/commit/b721787c7fafbff040fbcaa188a9d5dd7557e26f
& associated block in strgen
- 主要语言
- Python
- 星标
- 6
- 派生
- 12
- 平均合并
- 34 分钟
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenTTD/eints 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 51/100
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
15-minutes 5-minutes algorithm any-language beginner-friendly c cpp csharp easy go good first issue hacktoberfest help wanted java javascript kotlin python rust swift typescript
难度 2/5 1-3 小时 新手友好度 78/100
Huerte/algo-solutions-python#254 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 86/100
MichaelYcJo/SpecSeal#1543 ·
-
size/s
难度 1/5 1 小时以内 新手友好度 90/100
sipyourdrink-ltd/bernstein#7179 ·
维护者通常 1 天内回复
-
good first issue help wanted python up-for-grabs
难度 2/5 1-3 小时 新手友好度 65/100
andrewsiah/agentswarm-data-tasks#309 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复