Is a BLOB converted using the current/default charset in MySQL?
Blob data used MySQL charset which is in my.ini
default-character-set=latin1
Suppose
- I have a table with a BLOB field.
- The charset of the table is UTF-8.
- I connect to the DB and "SET CHARACTER SET utf8".
- Then I save binary data into the field.
- Then I retrieve the data, and it's not what I saved (corrupt).
Ref :
http://stackoverflow.com/questions/14734812/is-a-blob-converted-using-the-current-default-charset-in-mysql
Comments
Post a Comment