fixing bug in tcrypt introduced by variable UTF8 encoding that broke backwards compatbility with version 3 and below.