const fetch = require("node-fetch")
fetch("https://www.example.com")
.then(res => res.text())
.then(data => console.log(data))
The output is HTML string, but Hebrew words replaced with ���� ����
How to set proper encoding to show Hebrew text properly? The final goal is to check whether multiple websites contain certain Hebrew keyword.