fix PG::Error: incomplete multibyte character