Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi all
Im trying to convert the OtherNumber(like ① ② ③ or ¼) and OtherSymbol or character types like that to real character, I know how to get real number, But can you tell me how can i get real character out of OtherSymbol or OtherLetter like ℃ or ⓕ ?
I also have problem with OtherNumber, ¼ should be 1/4 not 0.25, how do i do that?
Posted
Comments
Maciej Los 22-Jul-14 11:20am    
Why?
petros71 22-Jul-14 12:32pm    
I'm using an application which uses normal characters, i need to change these characters as possible
Maciej Los 22-Jul-14 12:35pm    
The question is still active - why?
petros71 22-Jul-14 13:06pm    
Really the why is that important?! I saw an application does that, but this is How that i need to know not the Why!
in C# with char.GetUnicodeCategory(ch) method we can find out what is the type of that character, but cant convert that to real character(except number that can get with char.GetNumericValue(ch)), that's what i'm looking for...
Maciej Los 22-Jul-14 13:17pm    
Yes, it's very important. I need to understand why do you want to convert symbols to it's numeric or string values. I'm affraid there is no simple way to do that, especcially when you did not provide any information about used code page and/or character encoding (ANSI, UTF, etc.).

1 solution

I found the answer, this is unicode normalazation. NFCK is one of methods of decompression of these kind of symbols.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900