3 ms·
This is a great summary of why you get encoding errors in Ruby 1.9, and why #force_encoding is not the catch-all solution. I've lost count of how many times I'v
by nex3 16y ago
This is a great summary of why you get encoding errors in Ruby 1.9, and why #force_encoding is not the catch-all solution. I've lost count of how many times I've had people request that I run #force_encoding on all strings passed to Haml templates.