Convert a UTF8 string hexadecimal and vice versa