Handle ut64 and encode strings in fmt