Use utf8.RuneCountInString so multi-byte characters like é count as one character. Add a unicode test case to cover this. Signed-off-by: Émile Ré <emile@getprobo.com>
13 KiB
13 KiB