• Jesse Gross's avatar
    runner.go: Merge partial unicode characters before sending · 03e40efa
    Jesse Gross authored
    We check for partial unicode characters and accumulate them before
    sending. However, when we did send, we still sent each individual piece
    separately, leading to broken output. This combines everything into
    a single group, which is also more efficient.
    
    This also switches to the built-in check for valid unicode characters,
    which is stricter. After this, we should never send back an invalid
    sequence.
    
    Fixes #7290
    03e40efa
basic_test.go 1.93 KB