MicroPyramid / forex-python

Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io
http://forex-python.readthedocs.io/en/latest/usage.html
MIT License
664 stars 197 forks source link

Update converter.py #143

Open Tauhid-Ahmed8009 opened 1 year ago

Tauhid-Ahmed8009 commented 1 year ago

added utf-8 encoding when opening curriencies.json. otherwise exception type: unicodedecodeerror exception value: 'ascii' codec can't decode byte 0xc3 in position 7400: ordinal not in range(128) in ubuntu server

Tauhid-Ahmed8009 commented 1 year ago

i was facing issue with the symbols being shown in a ubuntu environment, utf-8 encoding needs to be present to solve the issue.