From 6016156875e5f54761b784f6c50c69edebcda35d Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 1 Jul 2019 02:01:01 +0200 Subject: Mention that the 'encoding' parameter is also used for $(shell) --- kconfiglib.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kconfiglib.py') 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. -- cgit v1.2.3