Fixed character encoding and puma's RACK_ENV