convert_to ( string text, dest_encoding name ) → byteaConverts a
text string (in the database encoding) to a binary string encoded in encoding dest_encoding (see Section 23.3.4 for available conversions).convert_to('some_text', 'UTF8') → \x736f6d655f74657874