adamzap/landslide — pull request #125 by iguananaut (2012-10-10 16:08:48+00:00)
Title: Use configured encoding when reading all embedded files.

Prior to this patch I was getting a (somewhat buried) `UnicodeError` when embedding js files that contain non-ASCII characters.

This patch assumes that all files to be embedded will be using the same encoding, but that's a safer assumption than just assuming that they're all ASCII.