FileLoader: `text` honors mimetype's charset as encoding (#23292)
FileLoader: `text` honors mimetype's charset as encoding (#23292)

* honor encoding

* npm run lint-fix

* cmp idx

* lint

* textual encoding

* record state

* new api `.setResponseType`

* rollback mmdloader

* sniff encoding for 'text' kind
makc/three.js.fork,jpweeks/three.js,aardgoose/three.js,gero3/three.js,Liuer/three.js,gero3/three.js,fyoudine/three.js,fyoudine/three.js,mrdoob/three.js,looeee/three.js,greggman/three.js,greggman/three.js,donmccurdy/three.js,jpweeks/three.js,WestLangley/three.js,WestLangley/three.js,mrdoob/three.js,looeee/three.js,makc/three.js.fork,06wj/three.js,Liuer/three.js,06wj/three.js,donmccurdy/three.js,aardgoose/three.js