If your tables are utf8 and you're transferring strings like 'José'. It might fix the issue if you set the connection collation to utf8, probably you're using different collations at some layer.
SET NAMES 'utf8';
This will be your first SQL query after you establish the connection.
More information: http://dev.mysql.com/doc/refman/5.6/en/charset-connection.html
If you feel more comfortable with Portuguese there is the Portuguese version of Stackoverflow too, check it out: https://pt.stackoverflow.com/