Tuesday, September 20, 2005

Re: Hebrew output


If u use char type variable then u are limited to the usage of
character set that cannot suport the other languages as the maximum
range of character the char data type can support is -128 to 127.

this is boz the char data type uses 1 sign bit and 7 data bits (so
total 1 byte).
In order to support other language characters we have to increase the
capacity to store characters. For that we use wchar_t data type (16 bit
or 2 byte ). This can accomodate other languages including that u
mentioned.

U have to check for the File operation functions whether they suport
widechars or not depending upon the IDE and Complier.

0 Comments:

Post a Comment

<< Home