As we all know, string encoding is fun and pleasant.
If your MySQL database uses the UTF-8 charset, you’ll probably want JRuby to use UTF-8. To start JRuby (or anything else on the JVM) with UTF-8 as the default encoding:
We can test this, in
Now we can configure JDBC to connect with the proper encoding: