diff Python/getversion.c @ 61597:b5ba7ea4246b

Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode object to Py_FileSystemDefaultEncoding with the "surrogateescape" error handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
author Victor Stinner <victor.stinner@haypocalc.com>
date Sat, 15 May 2010 16:27:27 +0000
parents 379fc66f4c96
children 9f2fbee420da
line wrap: on
line diff