pub fn dctext_to_dcutf(document: Vec<u8>) -> Result<Vec<u8>>
Converts DcText format bytes to legacy DcUtf format bytes.
Returns an error if the document cannot be parsed into a DcString.
DcString