windows: Properly handle surrogates (#34006)

Closes #33791

Surrogate pairs are now handled correctly, so input from tools like
`WinCompose` is properly received.

Release Notes:

- N/A
c99e42a3d6张小白 committed on 7/7/2025, 12:21:48 PM· committed by GitHubparent018dbfb
2 files changedLine totals unavailable