Consider supporting character encodings other than utf-8
未關閉
enhancement
- 主要語言
- Go
- 星號
- 16
- 分支
- 4
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### TL;DR
Currently actions like `string_replace` and `regex_replace` assume that the files they are operating on are utf-8 encoded. We could consider making this more flexible.
### Detailed design
_No response_
### Alternatives considered
_No response_
### Additional information
_No response_
貢獻指南
研究方向
Look at the `string_replace` and `regex_replace` actions in the codebase to understand how they currently handle file encoding. Investigate Go's encoding packages (like `golang.org/x/text/encoding`) to see how to detect and convert different character encodings. Determine what 'done' looks like by checking if there are existing tests for these actions that would need to be updated for new encoding support.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- go
- 領域
- cli, tooling
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 30/100