We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1fa196 + 5d85735 commit 80ce2ceCopy full SHA for 80ce2ce
forex_python/converter.py
@@ -124,7 +124,7 @@ def __init__(self):
124
def _currency_data(self):
125
if self.__currency_data is None:
126
file_path = os.path.dirname(os.path.abspath(__file__))
127
- with open(file_path + '/raw_data/currencies.json') as f:
+ with open(file_path + '/raw_data/currencies.json', encoding="utf-8") as f:
128
self.__currency_data = json.loads(f.read())
129
return self.__currency_data
130
0 commit comments