http://www.perlmonks.org?node_id=908217


in reply to How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?

You could use the hex() function to convert the hex strings into their corresponding values, then use the chr() function to get the character represented by that value, eg.

chr( hex( 'D0D6' ) );

Update: Fixed missing quotes, thanks davido