use Encode to translate between wide characters and their byte representations. Once you have the bytes, there are many ways to obtain their hex representations, for example, unpack "H*", $bytes.
Comment on Re: How to convert between Unicode codepoint and UTF8 character code on Perl?