I recently purchased a copy of <a href="http://symbolset.com/">Symbolset</a> from Oak studios, and was excited to use it in our iOS app. after some fiddling, characters can be shown using their unicode values in 8-hex format. The lookup table provides them in html hex entities, so a conversion from:
would look like this in any c-based language:
basically, drop the &#x bit, and prepend zeros to pad out to 8 characters, respecting capitalization.