fix(normalizer): Correct index calculation for multi-byte chars
In (*NormalizedString).TransformRange, a byte-based offset was incorrectly used to index the rune-based `alignments` slice. This caused an "index out of range" panic when processing strings containing multi-byte characters. This commit introduces a dedicated `runeIndex` to track the character position correctly, ensuring safe slice access and preventing the panic.
K
kensinxie committed
2489d188ef5dbf55bed030f8dac69e366fb55a6a
Parent: 04fa488