I have a C++ application that connects to a Firebird SQL database. The database is using UTF8 as its character set.
The database contains tables that have strings that are of type varchar and contains blob data that is of type 'blob sub_type 1'
Originally the connection to the database did not specify the character set but this was causing a Malormed String SQL error when I tried to do a query that contained a foreign character like É. I added CHARSET=UTF8 to the connection string which solved my initial problem when querying with a foreign character but now I get an SQL error when I try to save blob data.
Does anyone have any suggestions of what I should do. Any help is appreciated.