mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
e9e438b06e
Fixes https://github.com/coder/coder/issues/22375
Updates `stringutil.Truncate` to properly handle multi-byte UTF-8
characters.
Adds tests for multi-byte truncation with word boundary.
Created by Mux using Opus 4.6
(cherry picked from commit 0cfa03718e)