Returns a binary format that reads a text value. The optional encoding value specifies the encoding of the text.