Categories
data science

Character encoding in with JSON and PYTHON

I was data scraping the other day and saving the output to a JSON file, but the text in one of the entries was coming out wrong. Instead of “Antal Dovcs√°k”, it was coming out as “Antal Dovcs\u00e1k” instead. For context, my code looked something like this: And the output was this… After some googling […]