summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/api.tex6
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