Parse windows-1251 (cyrillic) request in axios

I am using axios to scrape some data from some websites. Currently, I hit the case where the encoding of the website is in windows-1251 and the response I got from the request wasn’t readable at all.

May 28, 2020 · 1 min · gmirchev90