Skip to content

Commit 7ed5249

Browse files
authored
fix: select force utf-8 in japanese enviroment (#242)
1 parent 9f3a5e2 commit 7ed5249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def load_json_config(filename):
102102
logger.warning(f"Configuration file {config_path} does not exist")
103103
return {}
104104

105-
with open(config_path, 'r') as f:
105+
with open(config_path, 'r', encoding='utf-8') as f:
106106
config = json.load(f)
107107
config = replace_env_placeholders(config)
108108
return config

0 commit comments

Comments
 (0)