Subject | How do I set the CHARSET for a connection? |
---|---|
Author | leofree@brfree.com.br |
Post date | 2001-12-01T18:14:14Z |
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?
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?