in reply to DBI Adding Null Bytes to String

Can you create a small test script that creates a database, adds a string to it and retrieves the string showing the issue?

It is unlikely that LongTruncOk is the root of the problem. LongTruncOk is a DBI attribute that allows otherwise failing transfers to succeed by truncating them.

Premature optimization is the root of all job security