Click here to Skip to main content
13,000,324 members (75,166 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Good day!
 I need the Arabic alphabet to Unicode and ANSI encodings.
 Maybe someone knows where to find these things?
Posted 5-Apr-11 21:21pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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 —[^]. You will find everything. If something is not clear, please ask another Question.

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
SAKryukov 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. :-)
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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.[^]

Hope this helps!

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 1 Jun 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100