mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-07 06:23: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.