bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161)

GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test.
1 file changed