diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-05 17:09:48 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-05 17:09:48 (GMT) |
commit | 7c82a3e0fcde5b0d58bdfbb0aed6c0a245ade4bf (patch) | |
tree | ed1541d4f1e8ed463f1bfbee97bd9793d62d2ae5 /Doc | |
parent | 044d95e9f7e0c9d5840c623350df339526f037af (diff) | |
download | cpython-7c82a3e0fcde5b0d58bdfbb0aed6c0a245ade4bf.zip cpython-7c82a3e0fcde5b0d58bdfbb0aed6c0a245ade4bf.tar.gz cpython-7c82a3e0fcde5b0d58bdfbb0aed6c0a245ade4bf.tar.bz2 |
Patch #449815: Set filesystemencoding based on CODESET.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api/api.tex | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex index a185509..b3a32d1 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -3020,7 +3020,11 @@ errors. These parameters encoding and errors have the same semantics as the ones of the builtin unicode() Unicode object constructor. Setting encoding to NULL causes the default encoding to be used which -is UTF-8. +is \ASCII{}. The file system calls should use +\var{Py_FileSystemDefaultEncoding} as the encoding for file +names. This variable should be treated as read-only: On some systems, +it will be a pointer to a static string, on others, it will change at +run-time, e.g. when the application invokes setlocale. Error handling is set by errors which may also be set to NULL meaning to use the default handling defined for the codec. Default error |