summary refs log tree commit diff
path: root/library/std/src/sys/windows/stdio
AgeCommit message (Collapse)AuthorLines
2023-05-31Fix bug in utf16_to_utf8 for zero length stringsShane Murphy-0/+6
This fixes the behavior of sending EOF by pressing Ctrl+Z => Enter in a windows console. Previously, that would trip the unpaired surrogate error, whereas now we correctly detect EOF.