BUG: UTF8
stAndrei opened this issue · 4 comments
stAndrei commented
After updating records with upsert all russian names become ????? ?????. In upsert log everything fine
[2015-04-08T13:13:09.837068 #3363] DEBUG -- : [upsert] CALL upsert2_1_0_users_SEL_id_SET_balance_A_credit_A_curre4278482623(46085, 11900.03, 0.0, 'USD', 'Валерий Франков').
I use MYSQL, mysql2 adapter and Upsert.batch. Column CHAR(128) with encoding UTF-8. Simple insert writes correct.
seamusabshere commented
@stAndrei do you have any idea why that happens?
stAndrei commented
@seamusabshere, no, I don't.
pnomolos commented
@stAndrei I don't know if you're still dealing with this issue, but did you check the character set and encoding values on both sides (client and server)? I just added a pull request to make sure UTF8 is checked in the tests, but it required a bit of tweaking to make sure everything properly worked on mysql.