Commit 183761ac24544b355aaf362e62d05fa1c184baf8

Pierre Le Marre 2023-05-13T17:26:24

Do not interpret nor emit invalid Unicode encoding forms Surrogates are invalid in both UTF-32 and UTF-8. See https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G28875 and https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G31703