Encoding hack to work w/i Rails; support mysql2; more error handling
0.3.2