On Mon, Apr 28, 2003 at 10:13:06AM +0200, hind.oukerradi wrote: > Salam, > how can i handle arabic text, witch is encoded Windows > cp-1256, directly within the programs, without have requiring > transliteration ? > > thanks > Salam, When wanting to process Arabic text (or any multibyte text), you usually want to convert it to wide characters first. Do your text processing, then convert it back to whatever multibyte encoding is being used, be it utf-8 or cp1256, etc. When you say wihin 'the programs', I'm not sure what that refers to. Are you talking about your own code, some other program you're using, or what exactly? later -- ------------------------------------------------------- | Mohammed Elzubeir | Visit us at: | | | http://www.arabeyes.org/ | | Arabeyes Project | Homepage: | | Unix the 'right' way | http://fakkir.net/~elzubeir/| ------------------------------------------------------- --- Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=elzubeir
Attachment:
pgp00013.pgp
Description: PGP signature