0

hello all,
please i want to ask a question about a size of the charecters i read some where that 2 charecters is ‎32 bit strings‎!!!!
isn't 2 charecter is 16 bit?
so what is i have problem with?? and how it is computed truly?
thanks very much to any help
best regards

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by JeffGrigg
1

The size of a character depends on the encoding for your character set. Do some research on ASCII and Unicode for details.

0

@Narue what i understood from your statement is:
If i represent encoding scheme for my 1 character to be 2byte; then yes, 2 characters are equals to 32bits..?

>>1byte = 2^4bits= 16bits

So, mayb What "s.w.a" read somewhere char was encoded into 2byte!

0

@Narue what i understood from your statement is:
If i represent encoding scheme for my 1 character to be 2byte; then yes, 2 characters are equals to 32bits..?

>>1byte = 2^4bits= 16bits

So, mayb What "s.w.a" read somewhere char was encoded into 2byte!

The OP could have read anything, correct or incorrect. It really doesn't change the answer that storage for characters depends on the character set and encoding scheme, and that there are several different and commmonly used variations.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.