mime_guess icon indicating copy to clipboard operation
mime_guess copied to clipboard

Add `charset=utf-8` to text mime types

Open casey opened this issue 2 years ago • 0 comments

I'm guessing mime types from extensions, but I know that whenever it's a text-based format, it's utf-8. Would it be possible to support guessing charset=utf-8 where permissible? I.e. returning text/html; charset=utf-8 when the path ends in .html?

casey avatar Sep 05 '22 03:09 casey