Changed to UTF8 encoding using Qt functions, should work cross platform without the need to byteswap the data stored in the db file