mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-05 13:33:32 +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.