cljs.repl.browser/mime-type->encoding

varsince v0.0-3297Edit
Source code @ clojurescript:src/main/clojure/cljs/repl/browser.clj
(def mime-type->encoding
  {"text/html" "UTF-8"
   "text/css" "UTF-8"

   "font/ttf" "ISO-8859-1"
   "font/otf" "ISO-8859-1"

   "application/pdf" "ISO-8859-1"

   "image/jpeg" "ISO-8859-1"
   "image/png" "ISO-8859-1"
   "image/gif" "ISO-8859-1"
   "image/svg+xml" "UTF-8"

   "video/mp4" "ISO-8859-1"
   "audio/m4a" "ISO-8859-1"
   "audio/mpeg" "ISO-8859-1"
   "video/mpeg" "ISO-8859-1"
   "audio/wav" "ISO-8859-1"

   "text/javascript" "UTF-8"
   "text/x-clojure" "UTF-8"
   "application/json" "UTF-8"
   "application/wasm" "ISO-8859-1"})