RE: BLOB data gets encoded as utf8!

2011-02-09 Thread Andreas Iwanowski
Thank you for your reply, Janusz. I appreciate your help. I have tried making that call before the INSERT statement, but to no avail. The table collation is set to utf8 - default collation, and all columns are set to Table default. I am thinking that this problem might be due to me sending the

Re: BLOB data gets encoded as utf8!

2011-02-09 Thread Johan De Meersman
I can't help but wonder, if you send a string, does that mean you're putting text in a blob ? Blobs are binary, and thus don't get encoded in the sense of UTF8 vs Unicode. For a string, you may want a TEXT type column. On the other hand, if you're indeed trying to insert binary data, it is not

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

2010-08-30 Thread Carlos Proal
I think that probably the mistake is in the way you are inserting the blob. If i understand right, you are inserting the blob with a traditional insert statement ??, in my experience i always use prepared statements to insert blobs, in that way the text goes exactly as the source without any

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

2010-08-29 Thread Johan De Meersman
Is the code you use to get the data out in the same charset as the code you use to put the data in ? Both should ideally also match your database setting. Have you tried explicitly setting the connection to UTF8 ? Just swinging in the dark, here, really. On Sat, Aug 28, 2010 at 8:04 AM, Andreas