friend said:
for example I get the input from remote host something like this : "Ä"
or some other character "Ì" or "Œ"
How do you receive the data?
I want to convert this character to decimal and check the bits.
You can not check bits because a decimal value is also a String. (If you
meant the Decimal type to store the character code, you would have chosen
the wrong type.)
If you receive an "Ä", it is _not_ ASCII. ASCII does not contain the German
"Umlaut". If you have a String, it's a Unicode string. You can convert it by
using
dim bytes as byte()
bytes = system.text.encoding.unicode.getbytes(yourString)
Then you can process the array of bytes.
Armin