How do we convert Unicode PUA to Unicode(or hexadecimal)

Posted by Karthime under C# on 11/23/2013 | Points: 10 | Views : 8392 | Status : [Member] | Replies : 2

As refereced from the below link,


"In a Unicode character value created by adding F000 to the character value, thereby shifting the value into the Unicode private use area. This is done to allow interoperability with legacy word processing formats. So, in the example above, the value of the char attribute is F034, and so we would obtain the character value by removing F000 from F034 to obtain the character at the hexadecimal value 0x34 in the Wingdings font (or 52 as a decimal value)."

How do we convert Unicode private use area to Unicode character(or hexadecimal value) in C#?

For example,
I need to convert Unicode PUA "F0E9" to its equivalent unicode.



Posted by: vishalneeraj-24503 on: 11/23/2013 [Member] [MVP] Platinum | Points: 25

Hi, please refer below links :-

Hope this helps you.

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ring on: 12/6/2013 [Member] Starter | Points: 25

Login to post response