Default to UTF-8 for the data encoding when using JRuby