human
Convert unicode codepoint to UTF8 hex in python
assistant
Here is some code to convert Unicode codepoint to utf8 hex

chr(int('fd9b', 16)).encode('utf-8')

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