Dbmail 3 1 utf8 invalid seq

Unit-test function from my prior pull-request is needed here.
Fix provides utf8-string validation replacing invalid sequences with "?".