<human>:  How can I convert literal escape sequences in a string to the corresponding bytes?
<bot>: Here is some code to convert and escape string "\\xc3\\x85あ" to UTF-8 code

"""\\xc3\\x85あ""".encode('utf-8').decode('unicode_escape')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.