rails/rails — pull request #10407 by NARKOZ (2013-05-01 23:47:58+00:00)
Title: use constant for encoding

same as 5f30b54, performance improvement