creationix/luvit — comment on commit b236b698ce3088505d93a240f19b91b964b88192
File: lib/response2.lua line 83
By creationix:

Perhaps in JavaScript you could get away with this since strings are unicode, but in lua they don't have an encoding and assuming is worse than not trying to guess.