We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37451e0 commit b563412Copy full SHA for b563412
fortls/__init__.py
@@ -539,7 +539,7 @@ def locate_config(root: str) -> str | None:
539
config_exists = os.path.isfile(config_path)
540
if config_exists:
541
try:
542
- with open(config_path) as fhandle:
+ with open(config_path, encoding="utf-8") as fhandle:
543
config_dict = json.load(fhandle)
544
pp_suffixes = config_dict.get("pp_suffixes", None)
545
pp_defs = config_dict.get("pp_defs", {})
0 commit comments