JRuby

String#% (format) needs to be made encoding-aware