gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919)

1 file changed