hi im a beginner in programming and network development. i have a question regarding ASCII and Unicode encoding.
in msdn and other web examples do the following:
byte[] byteData = Encoding.ASCII.GetBytes(data);
is this because these code samples are old? shouldn't it be:
byte[] byteData = Encoding.Unicode.GetBytes(data);
thanks for your input!