fernyb / Sequel-J

A MySQL Client written in Cappuccino (work in progress)
31 stars 1 forks source link

utf8 chars bug in the php backend #24

Open guilhermeaiolfi opened 13 years ago

guilhermeaiolfi commented 13 years ago

Hi,

I had to use $db->get_results("SET NAMES utf8"); after connecting to the DB to make sure I would transfer my characters correctly. I have a lot of special chars like ç, ã, õ, é, ê, etc in my db and every row that had one of those chars it was returning null for that field.

cacaodev commented 12 years ago

I did this and it solved my issues with unicode and spaces in table names. What do you think ? https://github.com/cacaodev/Sequel-J/commit/be05739d0fea45f9c53e25aa7f7f9e7b2acf6448