solve encoding problem with mysql2 adapter installation