Subject How do I set the CHARSET for a connection?
Author leofree@brfree.com.br
Hi!

I have a database with the DEFAULT CHARACTER SET
defined as ISO8859_1.

However, I don't know how to define my CHARACTER SET
as ISO8859_1 when I connect to it.

I've read that there's this command SET NAMES that
supposed to solve this problem as long as you
send it BEFORE the connection to the database,
but there's no way (that I know) I can send
this command before a connection.

Can you guys help me?