mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-11-02 13:13:20 +08:00
Consolidate the UTF-8/16/32 BOM byte literals into a single lookup table and share a startsWith helper across detection and encoding. Pure refactor in a Kilo-only file; upstream diff unchanged.