Changeset 402 for python/trunk/Modules/_localemodule.c
- Timestamp:
- Mar 22, 2014, 2:17:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Modules/_localemodule.c
r391 r402 438 438 strcpy( encoding, ""); 439 439 if (DosQueryCp (sizeof (cp), cp, &cplen) == NO_ERROR) 440 PyOS_snprintf(encoding, sizeof(encoding), "CP% u", cp[0]);440 PyOS_snprintf(encoding, sizeof(encoding), "CP%lu", cp[0]); 441 441 442 442 return Py_BuildValue("ss", locale, encoding);
Note:
See TracChangeset
for help on using the changeset viewer.