isWide looked at a single UTF-16 code unit, so an astral character at the break (CJK Ext-B, emoji) was a lone surrogate of width 1 and the rejoin inserted a space between two wide characters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
isWide looked at a single UTF-16 code unit, so an astral character at the break (CJK Ext-B, emoji) was a lone surrogate of width 1 and the rejoin inserted a space between two wide characters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>