sstephenson/sprockets — Issue #239: Per-environment default encodings
Author: sstephenson
Created: 2011-11-06 19:14:44+00:00
State: open

If `ENV["LANG"]` is `nil`, `Encoding.default_external` in Ruby 1.9 defaults to `US-ASCII`, which is a bad default for Sprockets.

We should have a per-Environment `default_encoding` accessor that defaults to `UTF-8`.