rstacruz/sinatra-assetpack — pull request #47 by niko (2012-03-19 09:50:30+00:00)
Title: ! different encodings in combined assets

Fix for issue #46:

«Somehow Sinatras #send_file doesn't apply the correct encoding to the response body, but just "ASCII-8BIT". So when assets are combined where some are sent by #sent_file and some are rendered by tilt (for example plain js and coffeescript files) and both contain encoding relevant characters (like umlauts), combining them fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT".»