forex-python icon indicating copy to clipboard operation
forex-python copied to clipboard

Specify utf-8 as the encoding for currencies.json

Open cgeorgelee opened this issue 3 years ago • 0 comments

This is a fix for issue: "Attempt to read /raw_data/currencies.json as ascii instead of utf-8 breaks get_symbol()" - https://github.com/MicroPyramid/forex-python/issues/109

We tell the file reader the encoding of /raw_data/currencies.json instead of using python auto detection.

cgeorgelee avatar May 26 '22 03:05 cgeorgelee