summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-07-01 02:01:01 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-07-01 02:01:01 +0200
commit6016156875e5f54761b784f6c50c69edebcda35d (patch)
tree5c75fdc9ba4bdc6fc0d6f8a64f88186dcd17552a
parentb13333194ecb4f413de40fc9e31d1aa0ed9d9df6 (diff)
Mention that the 'encoding' parameter is also used for $(shell)
-rw-r--r--kconfiglib.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index de3f959..58ef8e4 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -891,8 +891,9 @@ class Kconfig(object):
True/False.
encoding (default: "utf-8"):
- The encoding to use when reading and writing files. If None, the
- encoding specified in the current locale will be used.
+ The encoding to use when reading and writing files, and when decoding
+ output from commands run via $(shell). If None, the encoding
+ specified in the current locale will be used.
The "utf-8" default avoids exceptions on systems that are configured
to use the C locale, which implies an ASCII encoding.