mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-01 13:43:33 +00:00
truncateLine could cut a surrogate pair when the maxChars boundary fell between a high surrogate and its paired low surrogate, producing a broken unpaired surrogate in grep tool output.