RE: BLOB data gets encoded as utf8!

2011-02-09 Thread Andreas Iwanowski
, 2011 7:45 AM To: Andreas Iwanowski Subject: BLOB data gets encoded as utf8! (Anyone?) Before inserting BLOB data use: mysql_query(SET CHARACTER SET latin1); after that you can set it back to: mysql_query(SET CHARACTER SET utf8); This is due to: http://dev.mysql.com/doc/refman

Re: BLOB data gets encoded as utf8!

2011-02-09 Thread Johan De Meersman
Paƛkiewicz [mailto:ad...@multipasko.pl] Sent: Wednesday, February 09, 2011 7:45 AM To: Andreas Iwanowski Subject: BLOB data gets encoded as utf8! (Anyone?) Before inserting BLOB data use: mysql_query(SET CHARACTER SET latin1); after that you can set it back to: mysql_query(SET

Re: BLOB data gets encoded as utf8! (Anyone?)

2010-08-30 Thread Carlos Proal
know! -Original Message- From: Andreas Iwanowski [mailto:namez...@afim.info] Sent: Tuesday, August 24, 2010 2:48 PM To: mysql@lists.mysql.com Subject: BLOB data gets encoded as utf8! Hello everyone! I am using an MFC unicode project that uses ODBC to access a MySQL 5.1.50 database via

Re: BLOB data gets encoded as utf8! (Anyone?)

2010-08-29 Thread Johan De Meersman
:48 PM To: mysql@lists.mysql.com Subject: BLOB data gets encoded as utf8! Hello everyone! I am using an MFC unicode project that uses ODBC to access a MySQL 5.1.50 database via the MySQL ODBC 5.1.6 driver. character_set_connection is set to utf8 (Which I believe is the default

BLOB data gets encoded as utf8! (Anyone?)

2010-08-28 Thread Andreas Iwanowski
Subject: BLOB data gets encoded as utf8! Hello everyone! I am using an MFC unicode project that uses ODBC to access a MySQL 5.1.50 database via the MySQL ODBC 5.1.6 driver. character_set_connection is set to utf8 (Which I believe is the default for the driver) One of the tables contains two LONGBLOB

BLOB data gets encoded as utf8!

2010-08-24 Thread Andreas Iwanowski
Hello everyone! I am using an MFC unicode project that uses ODBC to access a MySQL 5.1.50 database via the MySQL ODBC 5.1.6 driver. One of the tables contains two LONGBLOB columns, and the table default charset is utf-8 (since the application is unicode). However, when inserting into the

BLOB data gets encoded as utf8! (First post incomplete)

2010-08-24 Thread Andreas Iwanowski
Hello everyone! I am using an MFC unicode project that uses ODBC to access a MySQL 5.1.50 database via the MySQL ODBC 5.1.6 driver. character_set_connection is set to utf8 (Which I believe is the default for the driver) One of the tables contains two LONGBLOB columns, and the table default