Click here to Skip to main content
15,896,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
MSIL
Good day!
 I need the Arabic alphabet to Unicode and ANSI encodings.
 Maybe someone knows where to find these things?
Posted

You use SDK's WideCharToMultiByte() & MultiByteToWideChar() with the proper codepage specification to convert between UNICODE & ANSI with upper 128 characters specific to the codepage [language] in the call.

For example one can go back and forth between UNCODE and Arabic by specifying CP=1256.

See this link for other copepage ID's for other languages.

http://www.science.co.il/language/locale-codes.asp?s=codepage[^]


Hope this helps!
 
Share this answer
 
Sorry for a trivial Answer but it looks like you asked for it — look at your Question. Can anyone understand what exactly you need? It's not obvious to me that you understand it yourself, but it looks like you're confused about how Unicode works. ANSI is ANSI, it has nothing to do with Arabic (even if some of the code points make sense in some pre-Unicode Arabic encodings but — they are obsolete now).

So — http://unicode.org/[^]. You will find everything. If something is not clear, please ask another Question.

—SA
 
Share this answer
 
Comments
Albin Abel 6-Apr-11 15:57pm    
Hmm. Let me try to understand what is ANSI. Got it. Arabic Numerical Symbol Index. :) A won't stands for A'can any more lol. 5
Sergey Alexandrovich Kryukov 6-Apr-11 16:12pm    
This is great. My initial idea was to decipher the abbreviation but something stopped me. An now we know the background! Thank you very much. :-)
--SA

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