patch jruby utf-8 method naming, fixes #1507