The database I\'m working with has sometimes UTF-8 encoded surrogate pairs, for example:
SELECT id, RAWTOHEX(SUBSTR(de