0
Fork 0
mirror of https://github.com/dop251/goja.git synced 2026-11-17 19:47:16 +00:00
goja/normalize_surrogates_test.go
kimjooyoon 6b6a90e519
Preserve lone UTF-16 surrogates during normalization (#825)
* Preserve lone UTF-16 surrogates during normalization

Reuse the casing span transformer, retaining the existing well-formed normalization path. Flatten concatenations without UTF-8 loss before normalizing.

Fixes #820.

AI-assisted-by: OpenAI Codex

* Remove redundant normalization pre-scan
2026-10-26 13:26:50 +00:00

87 lines
2.7 KiB