comparison Python/errors.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 1698c55b2af9
children 600c23127207
comparison
equal deleted inserted replaced
61595:bb9ae12633a9 61597:b5ba7ea4246b