Encoding utf-8, bug fix

This commit is contained in:
AjaySi
2024-04-12 18:46:42 +05:30
parent e3c3c03729
commit bdab2e9959
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ def blog_proof_editor(blog_content):
config_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'main_config'))
config = configparser.ConfigParser()
#config = configparser.RawConfigParser()
config.read(config_path, encoding='utf-8-sig')
config.read(config_path, encoding='utf-8')
except Exception as err:
print(f"ProofReader: Failed to read values from config: {err}")