diff options
Diffstat (limited to 'pylint/pyreverse/utils.py')
| -rw-r--r-- | pylint/pyreverse/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py index fea9bda79..06f8d3b7e 100644 --- a/pylint/pyreverse/utils.py +++ b/pylint/pyreverse/utils.py @@ -35,7 +35,7 @@ def get_default_options(): if home: rcfile = os.path.join(home, RCFILE) try: - with open(rcfile) as file_handle: + with open(rcfile, encoding="utf-8") as file_handle: options = file_handle.read().split() except OSError: pass # ignore if no config file found |
