Typo: encoding -> codeset.

This commit is contained in:
Martin v. Löwis 2008-06-01 08:19:02 +00:00
parent b12d8579e3
commit 6495c8da8f
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ Py_InitializeEx(int install_sigs)
#ifdef MS_WINDOWS
if (!overridden) {
icodeset = ibuf;
encoding = buf;
codeset = buf;
sprintf(ibuf, "cp%d", GetConsoleCP());
sprintf(buf, "cp%d", GetConsoleOutputCP());
}