We have noticed that Citoid now starts experiencing problems with certain news websites when users try to generate a reference using URL. Some characters are not displayed properly.
Examples of URLs which do not work properly:
Czech:
https://zpravy.idnes.cz/george-soros-osobnost-roku-the-financial-times-frg-/zahranicni.aspx?c=A181219_100000_zahranicni_kha
https://domaci.ihned.cz/c1-66399770-v-dole-na-karvinsku-explodoval-metan-na-miste-zahynul-jeden-hornik-dalsi-se-pohresuji
Arabic:
http://nna-leb.gov.lb/ar/show-report/371/
Hebrew:
https://www.ynet.co.il/articles/0,7340,L-5037054,00.html
French:
https://www.insee.fr/fr/statistiques/zones/2021173
Screenshot of reference generated from the first above-mentioned URL:
This is due to zotero which passes the buffer to jsdom but doesn't pass along content-type headers to decode it properly as jsdom doesn't accept them:
https://github.com/zotero/translation-server/issues/77
https://github.com/jsdom/jsdom/issues/2495