windows: Properly handle dead char (#30629)

Release Notes:

- N/A
7aabbb0426张小白 committed on 5/13/2025, 12:50:21 PM· committed by GitHubparent85c6a3d
1 file changedLine totals unavailable