🐛 处理脚本编码问题 #1115 by CodFrm · Pull Request #1138 · scriptscat/scriptcat

@CodFrm

* Initial plan

* 优化编码检测性能并添加完整测试覆盖

Co-authored-by: CodFrm <22783163+CodFrm@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: CodFrm <22783163+CodFrm@users.noreply.github.com>

@CodFrm

@cyfung1031