mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-09-23 10:28:06 +00:00
editor.go read bytes one at a time; byte >= 0x20 was treated as a single rune, so multi-byte UTF-8 chars (Chinese, emoji, etc.) became garbled. Add decodeRune to reassemble multi-byte sequences from the raw byte stream.