Thanks drew.
ASCIIEncoding.ASCII.X() is a little bit like re-stating the obvious.
Encoding.ASCII looks a whole lot smooother.
R.
-Original Message-
From: Marsh, Drew [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 2 May 2002 12:34
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Encoding
looks as though I confused myself with static members and instance members!
for the documentation, make a lot more sense now!
-Original Message-
From: Rolls, Robert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 2 May 2002 10:23
To: [EMAIL PROTECTED]
Subject: [DOTNET] Encoding Namespace
Rolls, Robert [mailto:[EMAIL PROTECTED]] wrote:
> I'm a little bit confused over all the encoding types and the
> documentation and I have a query with the following -
>
> is this equivalent -
>
> Byte[] a = Encoding.ASCII.GetBytes("Fred");
> Byte[] b = ASCIIEncoding.ASCII.GetBytes("Fred");
>
> a
I'm a little bit confused over all the encoding types and the documentation
and I have a query with the following -
is this equivalent -
Byte[] a = Encoding.ASCII.GetBytes("Fred");
Byte[] b = ASCIIEncoding.ASCII.GetBytes("Fred");
and the same for UnicodeEncoding, UTF7Encoding, UTF8Encoding?
Th