DB/Misc: correct some trinity_string encoding

By easy1, closes #11912