windows: Fix panic with some unicode characters (#10750)

Fix #10749 

Release Notes:

- N/A
9863b920b0张小白 committed on 4/19/2024, 5:28:39 AM· committed by GitHubparentea952b2
1 file changedLine totals unavailable