fetchでeuc-jpページを丸ごととってきてutf-8に変換して書き出す。 - Qiita
fetch(`test.html`) .then(res => res.blob()) //blobとして読み込みむ .then(res => { return new Promise(resol…