Specify `charset=utf-8` for not only plain text
Author: SuperKenVeryCreated Jun 19, 2025Updated Jan 7, 2026
I was trying to serve a javascript file and it had decoding problems.
Previous issue #263 addressed this for plain text files text/plain; I think we should do the same for other text files like text/javascript or text/markdown.
Source: svenstaro/miniserve