patch jruby utf-8 method naming, fixes #1507
Use `JRUBY_VERSION` instead of `RUBY_VERSION`.
Merge pull request #1508 from padrino/1507-fix-jruby-utf

patch jruby utf-8 method naming, fixes #1507