ruby/ruby — pull request #148 by jvshahid (2012-07-21 19:42:18+00:00)
Title: add a new encoding test

add a new test to make sure that changing encoding of ASCII substrings that originated from binary strings doesn't fail. related pr and jira issues:

1. https://github.com/jruby/jruby/pull/223
2. https://github.com/rubyspec/rubyspec/pull/146
3. http://jira.codehaus.org/browse/JRUBY-6764

Note that i initially sent a pr to the rubyspec guys, but they aren't very responsive.