Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++
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 at 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 at 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
0 Sergey Alexandrovich Kryukov 329
1 Nirav Prabtani 274
2 OriginalGriff 239
3 _Amy 165
4 Richard MacCutchan 145
0 OriginalGriff 7,744
1 Sergey Alexandrovich Kryukov 6,956
2 Maciej Los 3,994
3 Peter Leow 3,708
4 CHill60 2,742

Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 1 Jun 2011
Copyright © CodeProject, 1999-2014
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