I have created a function which gets an encoded string (possibly UTF-16 not sure) which represents ‘belong to’ in maths, this symbol consists of two unicde characters u+f0ce and u+f020. But when showing the string to user I am getting : “” which is only the first part of unicode.
The program is below:
String s = StringEscapeUtils.unescapeJava("\\uF0CE\\uF020");
The above code works for single unicode like \uF0CE only but not combined. Can you please help to find what am i doing wrong here?
Thanks
Thanks guys for all the help. I found a solution to the problem. The Private use characters are a part of Symbol fonts, by adobe. To map these symbols to unicode use the table given in this unicode page. Hope this helps.
Can any of the senior members (having enough reputation to edit the subject of the discussion) please change the title of the post to something like “How to map private use characters in symbol font (introduced by adobe) to standard unicode symbols” ? It might help somebody else.
Thanks