gh-131878: Fix input of unicode characters with two or more code points in new pyrepl on Windows (gh-131901) Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>