Thanks for responding, Yuan. With all the responses put together I am
beginning to get enough of an understanding of the whole Encoding framework.
Too bad that the .Net framework doesn't support Unicode BigEndian and
ISO-8859-1 as natively as it does ASCII and UTF-8/16 (i.e. supporting them as
properties of the Encoding class as are ASCIIEncoding and UTF8Encoding.) It
would go a long way towards improving interoperability between .Net and other
environments.
In any case, my dilemma is solved and I appreciate your help!
Thanks,
--
Dale Preston
MCAD C#
MCSE, MCDBA
""Yuan Ren[MSFT]"" wrote:
Hi Dale,
Thanks for posting!
For the current issue, there are many ways to approach this comparison. The
Encoding.GetEncoding is the easy way to implement. Just for your reference:
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemtextencodingclassgetencodingtopic.asp
By the way, the Encoder class has no method such as GetEncoding. I think
Peter just make a writing mistake.
Regards,
Yuan Ren [MSFT]
Microsoft Online Support