diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-07-01 02:01:01 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-07-01 02:01:01 +0200 |
| commit | 6016156875e5f54761b784f6c50c69edebcda35d (patch) | |
| tree | 5c75fdc9ba4bdc6fc0d6f8a64f88186dcd17552a | |
| parent | b13333194ecb4f413de40fc9e31d1aa0ed9d9df6 (diff) | |
Mention that the 'encoding' parameter is also used for $(shell)
| -rw-r--r-- | kconfiglib.py | 5 |
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. |
