avoid manually specifying utf-8 bytes to keep jruby happy