I'm doing a little home project that requires a simple file server from the current directory. I've found two good option in python and ruby, but my problem is the encoding isn't quite right. My files are HTML document text, Unicode text, UTF-8 text
(file command)
But these server commands:
python3 -m http.server 8000
ruby -run -ehttpd . -p8000
are rendering things like this:
I suspect it's quiet easy to do what I want, and just pass a utf8 config somehow. Just not sure how...