
Signature
Arne Garvander
Certified Geek
Professional Data Dude
> How do I convert a char to a byte, if the char is not an ASCII char?
That entirely depends on the encoding.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
If it is outside of the first 256 characters, you cannot turn it into a
byte. You can make it binary, however, and turn it into a string of bytes by
using encoding. Example:
http://www.koders.com/csharp/fid9EB93DD6509F335D388AFC03B92E2FD1EF04C64B.aspx?s=
mdef%3Ainsert

Signature
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
*************************************************
> How do I convert a char to a byte, if the char is not an ASCII char?